当我启动Eclipse时,退出代码= 127 [英] Exit code=127 when I start Eclipse

查看:742
本文介绍了当我启动Eclipse时,退出代码= 127的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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



首先,当我尝试启动Eclipse时,最后一个人说我在我的电脑上不存在java运行时环境。所以,我已经在Eclipse目录中创建了deux其他目录(jre / bin),我把所有的文件从bin目录下的java。



之后,当我开始,我出现以下错误:

  JVM终止。退出代码= 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.t okenizer = standard
-XX:MaxPermSize = 256m
-Xms40m
-Xmx512m
-jar /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1你有解决方案吗?



谢谢

解决方案

搜索网络,似乎已经报道:



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



解决方案建议是:


我想出来了。我安装了JDK7,并且有一个印象是
它也会安装JRE。每当我去任何
使用Java它说它使用7,所以我认为它必须有。我猜
JDK和安装的JRE之间的区别导致它不是
工作



I've installed Ubuntu 10.10, Eclipse Juno and Java 1.7.

Firstly, when I tried to start Eclipse, this last one said me that it doesn't exist a java runtime environment on my computer. So, I've created in the Eclipse directory deux others directory(jre/bin) within I put all the files from the bin directory of java.

After, When I started, I had this following errors :

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 `

Do you have a solution ?

Thank you

解决方案

Searching the net, it seems it was already reported:

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

And the solution suggested was:

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

这篇关于当我启动Eclipse时,退出代码= 127的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆