gpt4 book ai didi

java - 启动 Eclipse 时退出代码=127

转载 作者:行者123 更新时间:2023-11-30 11:27:10 25 4
gpt4 key购买 nike

我已经安装了 Ubuntu 10.10、Eclipse Juno 和 Java 1.7。

首先,当我尝试启动 Eclipse 时,最后一个告诉我它在我的计算机上不存在 java 运行时环境。所以,我在 Eclipse 目录中创建了 deux others directory(jre/bin),我把 java 的 bin 目录中的所有文件都放在里面。

之后,当我开始时,我遇到了以下错误:

JVM terminated. Exit code=127
/home/dark0502/Desktop/eclipse/jre/bin/java
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/dark0502/Desktop/eclipse//plugin/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/dark0502/Desktop/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /home/dark0502/Desktop/eclipse/eclipse
-name Eclipse
--launcher.library /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807/eclipse_1502.so
-startup /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 248015
-product org.eclipse.epp.package.java.product
-vm /home/dark0502/Desktop/eclipse/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar `

你有解决办法吗?

谢谢

最佳答案

网上搜了一下,好像已经有报道了:

http://www.linuxquestions.org/questions/linux-software-2/eclipse-juno-start-up-error-127-a-4175418488/

建议的解决方案是:

I figured it out. I installed JDK7 and was under the impression that it would also install JRE with it. Whenever I went to anything that used Java it said it was using 7 so I assumed it must have. I guess the difference between the JDK and the JRE installed caused it to not work

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

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