我在Ubuntu中启动Eclipse时出错

时间:2012-11-12 09:18:50

标签: eclipse ubuntu-10.04

  

可能重复:
  Cannot run Eclipse; JVM terminated. Exit code=13

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 

如何解决此问题?

1 个答案:

答案 0 :(得分:0)

见这里:Eclipse Helios not launching

  

当使用带有x64 JDK的x86 Eclipse时(或许可能会发生这种情况)   反之亦然)。只需指向一个与您的架构相同的JDK   eclipse.ini文件中的Eclipse,例如:

     

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