Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / July 2005

Tip: Looking for answers? Try searching our database.

Launching Eclipse on solaris

Thread view: 
Ann - 05 Jul 2005 19:17 GMT
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)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.