2012-11-12 55 views
0

可能重複:
Cannot run Eclipse; JVM terminated. Exit code=13錯誤,當我在Ubuntu啓動Eclipse

Java was started but returned exit code=13 
-Dosgi.requiredJavaVersion=1.5 
-Dhelp.lucene.tokenizer=standard 
-XX:MaxPermSize=256m 
-Xms128m 
-Xmx512m 
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/:/usr/lib/jni 
-Djava.class.path=/home/giri/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
-os linux 
-ws gtk 
-arch x86 
-showsplash /home/giri/eclipse//plugins/org.eclipse.platform_4.2.1.v201209141800/splash.bmp 
-launcher /home/giri/eclipse/eclipse 
-name Eclipse 
--launcher.library /home/giri/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so 
-startup /home/giri/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
--launcher.overrideVmargs 
-product org.eclipse.epp.package.jee.product 
-vm /usr/lib/jvm/java-6-openjdk/jre/bin/../lib/i386/client/libjvm.so 
-vmargs 
-Dosgi.requiredJavaVersion=1.5 
-Dhelp.lucene.tokenizer=standard 
-XX:MaxPermSize=256m 
-Xms128m 
-Xmx512m 
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/:/usr/lib/jni 
-Djava.class.path=/home/giri/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 

我該如何解決這個問題?

回答

0

在這裏看到:Eclipse Helios not launching

使用x86的Eclipse與64位JDK(也許 反之亦然)時,會發生這種情況。只是指向與相同的架構您的 Eclipse的一個JDK在您的eclipse.ini文件,如:

-vm /opt/java/jdk1.6.0_25_x86/jre/bin/javaw.exe