I am trying to launch Eclipse on Solaris, using the following command:
./eclipse -vm /export/home/j2sdk1.4.2_05/jre/bin/java_vm -vmargs
Xmx256M
I get the error saying "JVM terminated. Exit code=139"
Does anyone know what's wrong ? It seems to be trying to launch
startup.jar, but failing for some reason.
Thanks in advance.
Frank Langelage - 05 Jul 2005 20:10 GMT
> I am trying to launch Eclipse on Solaris, using the following command:
>
[quoted text clipped - 7 lines]
>
> Thanks in advance.
Use java instead of java_vm !
Roland - 06 Jul 2005 00:50 GMT
> I am trying to launch Eclipse on Solaris, using the following command:
>
[quoted text clipped - 7 lines]
>
> Thanks in advance.
It could be the missing dash in front of Xmx:
-vmargs -Xmx256M

Signature
Regards,
Roland de Ruiter
` ___ ___
`/__/ w_/ /__/
/ \ /_/ / \
Ann - 06 Jul 2005 16:28 GMT
Thanks for the responses.
I set the PATH variable explicitly and then was able to launch Eclipse
yesterday.
However, this morning, it's back to a different error:
java.lang.NoSuchMethodError:java.lang.runtime: method
removeShutDownHook(Ljava/lang/Thread;)Z not found
at
org.eclipse.core.launcher.Main.takeDownSplash(Main.java:1600)
at org.eclipse.core.launcher.Main.run(Compiled Code)
at org.eclipse.core.launcher.Main.main(Compiled Code)
Arne - 14 Jul 2005 09:07 GMT
Hi Ann,
maybe you just had set the PATH in your current shell the day before, but not
in your .profile or .cshrc.
It seems to me, your PATH setting got lost when you did login the next day.
The error message is caused by an older java version on your PATH.
Simply type java -version on your current shell and check if you have a 1.4.2
Arne
>Thanks for the responses.
>
[quoted text clipped - 9 lines]
> at org.eclipse.core.launcher.Main.run(Compiled Code)
> at org.eclipse.core.launcher.Main.main(Compiled Code)