在Ubuntu上启动Eclipse时出错,JVM终止退出代码= 13

时间:2014-10-21 09:39:35

标签: java eclipse ubuntu-12.04

我知道,这个问题重复了。但我无法找到解决问题的方法。 我对ubuntu 12.04.1 LTS没有sudo权限,所以下载了eclipse-cpp-luna-SR1-linux-gtk-x86_64.tar.gz和jdk-8u25-linux-i586.tar.gz。将JAVA_HOME - > jdk,JRE_HOME-> JRE和PATH变量设置为JAVAHOME / bin

获得以下错误

JVM terminated. Exit code=13
/vol/users/pradeep.rajan/eclipse/jdk1.8.0_25/bin/java
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925-0400/splash.bmp
-launcher /home/work/pradeep.rajan/eclipse/eclipse
-name Eclipse
--launcher.library /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 2f48018
-product org.eclipse.epp.package.cpp.product
-vm /vol/users/pradeep.rajan/eclipse/jdk1.8.0_25/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar 

我的eclipse.ini文件

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

1 个答案:

答案 0 :(得分:1)

将JRE复制到eclipse/jre,以便eclipse可以使用eclipse/jre/bin/java