Eclipse的错误 - Java的开始,但返回的退出code = 13 [英] Eclipse Error - Java was started but returned exit code=13

查看:366
本文介绍了Eclipse的错误 - Java的开始,但返回的退出code = 13的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在试图找出无的Java JDK / JRE安装的问题,编辑.ini文件,以表明的Java JRE下手,我得到这个错误,这是非常令人沮丧。我一定做了什么.ini文件来实现这一目标。我尝试了一些不同的东西来解决这个问题,但它已经变得相当紧张,因为我一直没能今天任何事情搞定,所以任何帮助将AP preciated。

After trying to figure out the "No Java JDK/JRE installed" issue and editing the .ini file to indicate what Java JRE to start with, I get this error, and it is very frustrating. I must have done something in the .ini file to make this happen. I tried a few different things to fix this, but it has become quite stressful as I haven't been able to get anything done today, so any help will be appreciated.

我看,这是32位和64位的Java和Eclipse之间的冲突,但我99%肯定他们都是64位。第二个问题是有反正我可以仔细检查,我都64位版本?

I read that this is a conflict between 32 and 64 bit Java and Eclipse, however I am 99% sure they are both 64 bit. 2nd Question is there anyway I can double check I have both 64 bit versions?

推荐答案

现在的问题是,你正在试图启动一个64位版本的Eclipse与32位版本的Java。您可以下载它从<一个href="http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html">here

The problem is that you are trying to start a 64 bit version of Eclipse with a 32 bit version of Java. You can download it from here

启动Eclipse与64位JVM,问题就会迎刃而解。

Start Eclipse with a 64 bit JVM and the problem will go away.

要做到这一点:

eclipse.exe -vm c:\path\to\64\bit\bin\javaw.exe

您还可以在您的eclipse.ini文件更新前两行使用64位Java在默认情况下通过执行以下操作:

You can also update the the first two lines in your eclipse.ini file to use the 64 bit java by default by doing the following:

-vm
c:\path\to\64\bit\bin\javaw.exe

另外,你也可以下载一个32位版本的Eclipse与32位Java应用。关键是,的位数是相同的。

Also, you can also download a 32 bit version of Eclipse for use with 32 bit Java. The key is that the bitness is the same.

这篇关于Eclipse的错误 - Java的开始,但返回的退出code = 13的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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