|
Re: JVM error starting eclipse on Linux [message #213302 is a reply to message #213291] |
Fri, 01 June 2007 13:50 |
Eclipse User |
|
|
|
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 #213371 is a reply to message #213317] |
Fri, 01 June 2007 20:53 |
Eclipse User |
|
|
|
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.
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04749 seconds