LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java under Wine (https://www.linuxquestions.org/questions/linux-software-2/java-under-wine-139362/)

drspore 01-27-2004 05:09 PM

Java under Wine
 
I'm trying to run a Windows app that needs Java to run. I have SDK 1.4.2 installed on RH 9. When I start the app with Wine it gives a dialog saying it can't find a JRE. Is there any environment variable or configuration file I can set so Wine locates the JRE? I tried setting the PATH in ~/.wine/c/autoexec.bat to C:\windows\Java\jre which is symbolically linked to the SDK directory on RH 9 but this didn't work.
Also, when I start wine it goes through some initialisation of font metrics which takes a long time. There are no fonts in my "Windows" fonts directory. How do I fix this?

Cheers

Spore

Tinkster 01-27-2004 06:07 PM

Re: Java under Wine
 
Quote:

Originally posted by drspore
I'm trying to run a Windows app that needs Java to run. I have SDK 1.4.2 installed on RH 9. When I start the app with Wine it gives a dialog saying it can't find a JRE. Is there any environment variable or configuration file I can set so Wine locates the JRE? I tried setting the PATH in ~/.wine/c/autoexec.bat to C:\windows\Java\jre which is symbolically linked to the SDK directory on RH 9 but this didn't work.

I think it would be safe to assume that it
won't work like this... you'll have to install
a windows JRE withint the wine-environment.

The linux java/javac binaries aren't byte-compatible
with the windows environment.


Cheers,
Tink

poison 01-27-2004 07:00 PM

^^
is it pure java app ?
the why do you care about wine ?
linux has a native java VM (yuck (><) )
you should be able to run it in linux ... without wine =)

jrbiochem 04-14-2005 10:17 AM

Similar problem
 
Hi!

Did anyone figure out if it was possible to install Java under Wine? I'm having to use something with a windows-only plugin called chime, which works fine on its own through IE or windows firefox, but the webpage also requires java and complains about the lack of a JRE. When I try and install one through Wine, for some reason it interprets my disks as being completely full.... it's not looking hopeful!

Jon

Komakino 04-14-2005 12:24 PM

Here's something that might help you, it uses crossover office plugin.

http://ariadne.mse.uiuc.edu/Info/Chime/chime_linux.html

jrbiochem 04-14-2005 12:35 PM

Thanks for the suggestion, but actually chime works fine- as does protein explorer. It's Java I'm having trouble with- but is that trouble-free on crossover?

rpz 04-14-2005 03:07 PM

As Tinkster suggested, have you tried installing JRE from sun's home page? That would certainly be my best bet...

And about the font metrics, this is only done the first time wine is run (on a particular x server).

jrbiochem 04-14-2005 05:09 PM

Yep, I've tried installing both JRE and JDK, in a couple of different versions, from a few sources, including sun, all to no avail- I still get the error about having a negative amount of disk space!

Jon


All times are GMT -5. The time now is 07:54 AM.