无法启动Eclipse - Java已启动,但返回退出代码= 13 [英] Can't start Eclipse - Java was started but returned exit code=13

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

问题描述

我正在尝试使用Eclipse获得我第一次使用Android开发的风格。在尝试运行Eclipse时,遇到这个问题,在几分钟之前安装了4.2版本。

I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago.

首先尝试启动没有任何参数的Eclipse来指定Java VM得到一个错误消息,指出它在Eclipse文件夹中找不到名为javaw.exe的Java VM,所以我发现Java的安装位置和该位置在快捷方式的目标中的参数。现在我收到一个不同的错误,Java已经启动,但返回退出代码= 13。

After first trying to start Eclipse without any parameters to specify the Java VM, I got an error message saying it couldn't find a Java VM called javaw.exe inside the Eclipse folder, so I found where Java was installed and specified that location as the parameter in the shortcut's target. Now I get a different error, "Java was started but returned exit code=13".

类似的问题似乎表明它是一个32位/ 64位冲突,但是我99%的积极下载了64位版本的Eclipse和Java(RE 7u5),我选择的是因为我有64位Windows 7。

Similar questions seem to indicate that it's a 32-bit/64-bit conflict, but I'm 99% positive that I downloaded 64-bit versions of both Eclipse and Java (RE 7u5), which I chose because I have 64-bit Windows 7.


  • 如果有人知道如何确认我的Eclipse和Java是64位的,那么不要赞赏

  • 如果你认为我的问题是不一样的,请帮忙!

  • 请尽可能简单地说,因为我完全是Eclipse
    和Java的新手。


快捷方式目标:C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\eclipse。 exe-vmC:\程序文件(x86)\Java\jre7\bin\javaw.exe

Shortcut Target: "C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\eclipse.exe" -vm "C:\Program Files (x86)\Java\jre7\bin\javaw.exe"

完整的错误代码...:

Java was started but returned exit code=13
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins\org.eclipse.platform_4.2.0.v201206081400\splash.bmp
-launcher C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v201205221813\eclipse_1503.dll
-startup C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 1e30_5c
-vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar C:\Program Files\Eclipse-SDK-4.2-win32-x86_64\eclipse\\plugins/org.eclipse.equinox.launcher_1.30v20120522-1813.jar


推荐答案

操作系统,JDK和eclipse的组合位元。在我的情况下,我在64位操作系统中使用64位的JDK与32位eclipse。将JDK降级到32位eclipse后,开始工作。
请使用以下组合之一。

Working combinations of OS, JDK and eclipse bitness. In my case, I was using 64-bit JDK with 32-bit eclipse in a 64-bit OS. After downgrading JDK to 32-bit eclipse started working. Kindly use 1 of the following combinations.


  • 32位操作系统,32位JDK ,32位Eclipse(仅限32位)

  • 64位操作系统,32位JDK,32位Eclipse

  • 64位操作系统,64位JDK,64位Eclipse(仅限64位)

希望这有助于您。

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

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