Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » JVM error starting eclipse on Linux
JVM error starting eclipse on Linux [message #213291] Fri, 01 June 2007 13:32 Go to next message
James Lopes is currently offline James LopesFriend
Messages: 6
Registered: July 2009
Junior Member
I'm getting this error when I try to execute Eclipse

Warning: -Xms40m not understood. Ignoring.
Warning: -Xmx256m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError:
usr.local.eclipse...startup.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
(/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/usr/local/eclipse/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/usr/local/eclipse/java.version=1.4.2)
Re: JVM error starting eclipse on Linux [message #213302 is a reply to message #213291] Fri, 01 June 2007 13:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

James wrote:
>
> I'm getting this error when I try to execute Eclipse
>
> Warning: -Xms40m not understood. Ignoring.
> Warning: -Xmx256m not understood. Ignoring.
> Warning: -jar not understood. Ignoring.
> Exception in thread "main" java.lang.NoClassDefFoundError:
> usr.local.eclipse...startup.jar
> at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
> at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
> at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
> (/usr/lib/libgcj.so.5.0.0)
> at __gcj_personality_v0 (/usr/local/eclipse/java.version=1.4.2)
> at __libc_start_main (/lib/tls/libc-2.3.4.so)
> at _Jv_RegisterClasses (/usr/local/eclipse/java.version=1.4.2)
>
>

You can not run Eclipse under the gcj JVM; you need to install and use
the Sun JDK or JVM.

Hope this helps,
Eric
Re: JVM error starting eclipse on Linux [message #213317 is a reply to message #213302] Fri, 01 June 2007 14:51 Go to previous messageGo to next message
James Lopes is currently offline James LopesFriend
Messages: 6
Registered: July 2009
Junior Member
It does. I set the JAVA_HOME to JDK 1.5 I had installed, but thought
eclipse would find the JRE under it.

At the command line I set the JAVA_HOME to the 1.5 jdk and excuted eclipse
and got the same error. I thought I'd try it this way before setting the
JAVA_HOME in my profile.
Re: JVM error starting eclipse on Linux [message #213371 is a reply to message #213317] Fri, 01 June 2007 20:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

Eclipse doesn't use JAVA_HOME to pick the vm. It uses the first VM found in
the path unless you include a path to the specific VM you want on the
command line. You specify the VM by adding a -vm
/path/to/vm/java_executable on the command line used to launch eclipse.
"James" <jlopes151@comcast.net> wrote in message
news:192f82174032ecee2bb5073c91e64b8a$1@www.eclipse.org...
> It does. I set the JAVA_HOME to JDK 1.5 I had installed, but thought
> eclipse would find the JRE under it.
>
> At the command line I set the JAVA_HOME to the 1.5 jdk and excuted eclipse
> and got the same error. I thought I'd try it this way before setting the
> JAVA_HOME in my profile.
>
>
Re: JVM error starting eclipse on Linux [message #213505 is a reply to message #213371] Sun, 03 June 2007 18:39 Go to previous message
James Lopes is currently offline James LopesFriend
Messages: 6
Registered: July 2009
Junior Member
Thanks for the help. Its working now.
Previous Topic:NoClassDefFoundError
Next Topic:Adding a new server to Eclipse
Goto Forum:
  


Current Time: Fri Apr 19 05:00:21 GMT 2024

Powered by FUDForum. Page generated in 0.04749 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top