无法启动Eclipse-Java已启动,但返回了退出代码= 13

白昼怎懂夜的黑 提交于 2020-08-05 05:52:10

问题:

I am trying to get my first taste of Android development using Eclipse. 我正在尝试使用Eclipse进行Android开发。 I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago. 在几分钟前尝试安装Eclipse时,我尝试运行Eclipse时遇到了这个问题。

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. 第一次尝试在没有任何参数的情况下启动Eclipse以指定Java VM之后,我收到一条错误消息,提示它couldn't find a Java VM called javaw.exe inside the Eclipse folder ,因此我找到了Java的安装位置,并将该位置指定为快捷方式目标中的参数。 Now I get a different error, Java was started but returned exit code=13 . 现在,我得到另一个错误, Java was started but returned exit code=13

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. 类似的问题似乎表明这是32位/ 64位冲突,但我对我下载Eclipse和Java (RE 7u5) 64位版本表示Java (RE 7u5) ,因为我拥有64位版本,我对此表示肯定。 Windows 7的。

  • If anyone knows how to confirm that my Eclipse and Java are 64-bit, that'd be appreciated. 如果有人知道如何确认我的Eclipse和Java是64位的,将不胜感激。
  • If you think my problem is a different one, please help! 如果您认为我的问题不同,请提供帮助!
  • Please speak as plainly as you can, as I am totally new to Eclipse and Java. 请尽我所能,因为我是Eclipse和Java的新手。

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" 快捷方式目标:“ C:\\ Program Files \\ Eclipse-SDK-4.2-win32-x86_64 \\ eclipse \\ eclipse.exe” -vm“ C:\\ Program Files(x86)\\ Java \\ jre7 \\ bin \\ javaw.exe”

Full error code...: 完整的错误代码...:

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

解决方案:

参考一: https://stackoom.com/question/m5gd/无法启动Eclipse-Java已启动-但返回了退出代码
参考二: https://oldbug.net/q/m5gd/Can-t-start-Eclipse-Java-was-started-but-returned-exit-code-13
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!