gpt4 book ai didi

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

转载 作者:太空宇宙 更新时间:2023-11-04 06:28:14 25 4
gpt4 key购买 nike

我知道,这个问题重复了。但我找不到解决我的问题的方法。我在 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

最佳答案

将JRE复制到eclipse/jre,这样Eclipse就可以使用eclipse/jre/bin/java!

关于java - 在 Ubuntu 上启动 Eclipse 时出错,JVM 终止退出代码 = 13,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26483523/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com