Hi,
Perhaps a bit offtopic, but my company has asked me to try and get a desktop java app we use/are developing here running under Linux. You'd think, being written in Java, that it'd just be a case of installing the JVM and running it. Unfortunately, because Java is rather poor at desktop apps, they've used a load of windows extensions via JNI to try and make it integrate better.
That means, the only solution is probably to run a JVM under Wine (short of rewriting all the native code, which they don't want to do). Now, I tried the Sun JRE, and it wasn't happy. I expect HotSpot does some wierd stuff under the covers. So I'm wondering if anybody has walked this road before, and if there are any other JVMs that might work better under Wine?
thanks -mike
On 20 Mar 2003 11:28:08 +0000 Mike Hearn m.hearn@signal.qinetiq.com wrote:
Hi,
Perhaps a bit offtopic, but my company has asked me to try and get a desktop java app we use/are developing here running under Linux. You'd think, being written in Java, that it'd just be a case of installing the JVM and running it. Unfortunately, because Java is rather poor at desktop apps, they've used a load of windows extensions via JNI to try and make it integrate better.
That means, the only solution is probably to run a JVM under Wine (short of rewriting all the native code, which they don't want to do). Now, I tried the Sun JRE, and it wasn't happy. I expect HotSpot does some wierd stuff under the covers. So I'm wondering if anybody has walked this road before, and if there are any other JVMs that might work better under Wine?
Sounds like they've used the MS extensions. You'll have to run the MS JRE in that case. Don't know if anyone has tried that.
Hi,
On Thursday 20 March 2003 12:28, Mike Hearn wrote:
Hi,
Perhaps a bit offtopic, but my company has asked me to try and get a desktop java app we use/are developing here running under Linux. You'd think, being written in Java, that it'd just be a case of installing the JVM and running it. Unfortunately, because Java is rather poor at desktop apps, they've used a load of windows extensions via JNI to try and make it integrate better.
That means, the only solution is probably to run a JVM under Wine (short of rewriting all the native code, which they don't want to do). Now, I tried the Sun JRE, and it wasn't happy. I expect HotSpot does some wierd stuff under the covers. So I'm wondering if anybody has walked this road before, and if there are any other JVMs that might work better under Wine?
thanks -mike
I think that getting the windows jvm running in wine would be rather complicated. I dont know if this works but crossover plugin uses wine to load windows dll in unix netscape. I dont know how exactly this works but a since yours is similar case i think you could try to run the java app with linux jvm and make your system use wine to load the windows jni dlls.
just an idea Enrico
Runing 'java.exe' exits with only a phtread fixme for me. Sun JRE 1.4.1_01.
That means, the only solution is probably to run a JVM under Wine (short of rewriting all the native code, which they don't want to do). Now, I tried the Sun JRE, and it wasn't happy. I expect HotSpot does some wierd stuff under the covers. So I'm wondering if anybody has walked this road before, and if there are any other JVMs that might work better under Wine?
===== Sylvain Petreolle spetreolle@users.sourceforge.net Fight Spam ! EuroCauce: http://www.euro.cauce.org/en/index.html ICQ #170597259
"Don't think you are. Know you are." Morpheus, in "Matrix".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
On Thu, 2003-03-20 at 20:49, Sylvain Petreolle wrote:
Runing 'java.exe' exits with only a phtread fixme for me. Sun JRE 1.4.1_01.
Is this with Wine CVS? I got a HotSpot error when I tried.
--- Mike Hearn mike@theoretic.com a écrit : > On Thu, 2003-03-20 at 20:49, Sylvain Petreolle wrote:
Runing 'java.exe' exits with only a phtread fixme for me. Sun JRE 1.4.1_01.
Is this with Wine CVS? I got a HotSpot error when I tried.
this is the java.exe located in c:\windows you tried to execute, not the JRE one, located in C:\Program\ Files\Java\j2rex.x.x
try to change your path setting in .wine/config or your autoexec.bat if you activated it into wcmd.
===== Sylvain Petreolle spetreolle@users.sourceforge.net Fight Spam ! EuroCauce: http://www.euro.cauce.org/en/index.html ICQ #170597259
"Don't think you are. Know you are." Morpheus, in "Matrix".
___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com