From: Hakan on
we would like to run Eclipse on a Linux server system. After
downloading and unzipping, the program is supposed to start just by
running the binary. This will not work with the following error message:

Warning: -XX:MaxPermSize=256m not understood. Ignoring.
Warning: -Xms40m not understood. Ignoring.
Warning: -Xmx256m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError:
root.eclipse.35.eclipse.plugins.org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
(/usr/lib64/libgcj.so.5.0.0)
at __gcj_personality_v0 (/root/eclipse/35/eclipse/java.version=1.4.2)
at __libc_start_main (/lib64/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/root/eclipse/35/eclipse/java.version=1.4.2)

what should I do to make it run properly? My searches indicated that
there is something wrong with our version of Java, but downloading the
Netbeans bundle with JDK did not help. Thanks in advance.

Regards,

H�kan Lane



--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur l��t sich nach Belieben anpassen ;-)
From: Arne Vajhøj on
On 17-04-2010 18:27, Hakan wrote:
> we would like to run Eclipse on a Linux server system. After downloading
> and unzipping, the program is supposed to start just by running the
> binary. This will not work with the following error message:
>
> Warning: -XX:MaxPermSize=256m not understood. Ignoring.
> Warning: -Xms40m not understood. Ignoring.
> Warning: -Xmx256m not understood. Ignoring.
> Warning: -jar not understood. Ignoring.
> Exception in thread "main" java.lang.NoClassDefFoundError:
> root.eclipse.35.eclipse.plugins.org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
>
> at gnu.gcj.runtime.FirstThread.run() (/usr/lib64/libgcj.so.5.0.0)
> at _Jv_ThreadRun(java.lang.Thread) (/usr/lib64/libgcj.so.5.0.0)
> at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
> (/usr/lib64/libgcj.so.5.0.0)
> at __gcj_personality_v0 (/root/eclipse/35/eclipse/java.version=1.4.2)
> at __libc_start_main (/lib64/tls/libc-2.3.4.so)
> at _Jv_RegisterClasses (/root/eclipse/35/eclipse/java.version=1.4.2)
>
> what should I do to make it run properly? My searches indicated that
> there is something wrong with our version of Java, but downloading the
> Netbeans bundle with JDK did not help. Thanks in advance.

Try installed latest SUN Java and use that instead of GCJ.

Arne
From: Dancing Fingers on
What distro are you using? You need to change sources.list to non-
free if Debian.
Chris
From: Hakan on
Dancing Fingers wrote:

> What distro are you using? You need to change sources.list to non-
> free if Debian.
> Chris

Answer to both you guys:

a) I downloaded and installed JRE from Sun. Then I updated the PATH
environment variable such that I thought that Eclipse should see it. I
still have the same error when trying to run it.

b) Downloaded the latest 32 bit version from Eclipse 3.5 . We run a
CentOS system. It should work from what I can make of the information.

c) What should I do now?

Thank you for your help!!

Regards,

H�kan

--
Newsoffice.de - Die Onlinesoftware zum Lesen und Schreiben im Usenet
Die Signatur l��t sich nach Belieben anpassen ;-)
From: markspace on
Hakan wrote:
> I > still have the same error when trying to run it.

Probably gcj is still in your path. Did you remove it? Either delete
it from the ../bin directory, or (a bit cleaner) uninstall the package
it is in.