我试图第一次尝试使用Eclipse进行Android开发。我在尝试运行Eclipse时遇到了这个问题,几分钟前刚刚安装了4.2版。
在第一次尝试在没有任何参数的情况下启动Eclipse
以指定JavaVM之后,我收到一条错误消息,说它是couldn't find a Java VM called javaw.exe inside the Eclipse folder
,所以我找到了安装Java的位置并将该位置指定为快捷方式目标中的参数。现在我得到了一个不同的错误,Java was started but returned exit code=13
。
类似的问题似乎表明这是32位/64位冲突,但我99%肯定我下载了64位版本的Eclipse和Java (RE 7u5)
,我选择它是因为我有64位Windows 7。
快捷目标:"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=13C:\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