Eclipse sous linux (redhat 4)

Fermé
matt - 8 janv. 2009 à 16:45
jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 - 8 janv. 2009 à 17:33
Bonjour,
j'ai dézipé eclipse dans le repertoire
/opt/
et j'ai lancé avec la commande ./opt/eclipse/eclipse
mais j'ai l'erreur suivante

Warning: -Xms40m not understood. Ignoring.
Warning: -Xmx256m not understood. Ignoring.
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: .opt.eclipse.plugins.org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.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 (/opt/eclipse/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/opt/eclipse/java.version=1.4.2)

et une fenêtre qui s'affiche avec les messages suivants

JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-jar /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /opt/eclipse/eclipse
-name Eclipse
--launcher.library /opt/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.3.R33x_v20080118/eclipse_1023.so
-startup /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata 90008
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-jar /opt/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar


j'ai installer jdk1.6.0_11 dans
/usr/local/<dossier du jdk>

et jre1.6.0_11 dans
 /usr/java/<dossier jre>
A voir également:

1 réponse

jeanbi Messages postés 15118 Date d'inscription samedi 9 décembre 2006 Statut Contributeur Dernière intervention 6 février 2023 2 177
8 janv. 2009 à 17:33
bonjour,
tu as penser au Path pour jre
http://linux-wizard.net/faq.php?section=5&key=java
a+
0