本文介绍了Eclipse已安装,但无法启动java返回的退出代码= 1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近安装了eclipse-dsl-juno-SR1-win32-x86_64,并且在解压缩文件后,当我开始运行Eclipse时,它给了我以下错误:

我检查了原因为此,还尝试了重新安装以及其他讨论论坛建议的解决方案,但无济于事。



我已安装




  • 用于Java和DSL开发人员的Eclipse IDE:Eclipse Juno SR1软件包下的eclipse-dsl-juno-SR1-win32-x86_64和

  • JDK 1.7 .0_11(x64)



我已正确链接我的环境变量,并尝试通过cmd编译Java文件并成功。 / p>

我尝试在cmd中运行以下命令: -vm mypath\jdk1.7.0_11\jre\bin 作为论坛建议的命令



以及其他路径 -vm mypath\jdk1.7.0_11\ bin -vm mypath\jdk1.7.0_11\jre\bin\javaw.exe 甚至 -vm mypath\jre6\bin 绝望地徒劳无功。



请帮助我。我陷入困境:(

解决方案

对我有用的是将-vm设置为指向jvm.dll而不是java。 exe或javaw.exe



-vm C:您的java\jre7\bin\client\jvm.dll



似乎是Java 1.7的一个错误。如果您回到Java 1.6,问题似乎也消失了。




I recently installed eclipse-dsl-juno-SR1-win32-x86_64 and after extracting the files, as I started running Eclipse it gave me the following error :

I checked the reason for this and also tried reinstalling as well as solutions suggested by other discussion forums, but to no avail.

I have installed

  • Eclipse IDE for Java and DSL Developers : eclipse-dsl-juno-SR1-win32-x86_64 under the Eclipse Juno SR1 packages AND
  • JDK 1.7.0_11 (x64)

I have linked my Environment Variables up correctly and tried to compile a Java file through cmd and have succeeded.

I tried running the following in cmd: -vm "mypath\jdk1.7.0_11\jre\bin" command as forums suggested

as well as other paths -vm "mypath\jdk1.7.0_11\bin" -vm "mypath\jdk1.7.0_11\jre\bin\javaw.exe" even -vm "mypath\jre6\bin" out of desperation to no avail.

Please help me out with this. I'm stuck :(

解决方案

What worked for me was to set -vm to point to jvm.dll instead of java.exe or javaw.exe

-vm C:your_java\jre7\bin\client\jvm.dll

It seems a bug with Java 1.7. If you go back to Java 1.6 the problem seems to disappear as well.

Eclipse: Java was started but returned exit code -1073741571

这篇关于Eclipse已安装,但无法启动java返回的退出代码= 1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 15:59