Starting Java using a Windows Application in Linux

Questions about Wine on Linux
Locked
CreativeMD
Newbie
Newbie
Posts: 1
Joined: Sat Nov 28, 2015 11:00 am

Starting Java using a Windows Application in Linux

Post by CreativeMD »

Hello,
i'm the developer of a small program called CMDLauncher.
Source can be found here:
https://github.com/CreativeMD/CMDLauncher

This program is basically a minecraft launcher, created using Delphi for Windows.
I tried to use it on ubuntu using Wine and it worked.
There were only some issues with java. My program detects all installed versions of java, but of course this cannot work on ubuntu.
I decided to download a java version for linux but i still have issues to launch minecraft using this "mobile" java version.

So my questions is:
Is there a way of launching java as linux would?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Starting Java using a Windows Application in Linux

Post by dimesio »

If you're trying to use your launcher to launch the Windows version of Minecraft in Wine, you need to install Windows java. If you're trying to launch the native version from your Windows launcher, try this: http://wiki.winehq.org/FAQ#head-a2e0e85 ... ebfefa7ce4 (it may not work; I vaguely remember a bug being filed about it, but I can't find it at the moment).
Locked