gpt4 book ai didi

java - eclipse ADT : Java was started but returned exit code=13

转载 作者:太空宇宙 更新时间:2023-11-03 11:27:24 24 4
gpt4 key购买 nike

有人能解释一下为什么我的 ADT 中的 Eclipse ( http://developer.android.com/sdk/index.html) 无法启动吗?

每次我收到此错误时:

---------------------------
Eclipse
---------------------------
Java was started but returned exit code=13
C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.0.5-757759
-XX:MaxPermSize=256m
-jar C:\Users\Alexey\Desktop\tmp\adt-bundle-windows-x86_64-20130729\adt-bundle-windows-x86_64-20130729\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:\Users\Alexey\Desktop\tmp\adt-bundle-windows-x86_64-20130729\adt-bundle-windows-x86_64-20130729\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\Users\Alexey\Desktop\tmp\adt-bundle-windows-x86_64-20130729\adt-bundle-windows-x86_64-20130729\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807\eclipse_1503.dll
-startup C:\Users\Alexey\Desktop\tmp\adt-bundle-windows-x86_64-20130729\adt-bundle-windows-x86_64-20130729\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata bec_34
-product com.android.ide.eclipse.adt.package.product
-vm C:\Program Files (x86)\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.0.5-757759
-XX:MaxPermSize=256m
-jar C:\Users\Alexey\Desktop\tmp\adt-bundle-windows-x86_64-20130729\adt-bundle-windows-x86_64-20130729\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
---------------------------
OK
---------------------------

最佳答案

当 IDE(eclipse) 位版本(即 32 或 64 位)和 jre 位版本不匹配时发生错误!我已经下载了 64 位版本,它向我显示了确切的错误。但是 32 位版本工作得很好。 JRE 版本(1.6 或 1.7)无关紧要。我认为你不需要降级。因为在我的例子中,我有 Java 版本 1.7.0_45,而 SDK 需要 1.6,但它仍然工作得很好!

关于java - eclipse ADT : Java was started but returned exit code=13,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18349517/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com