Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
927 views
in Technique[技术] by (71.8m points)

android - Eclipse ADT: Java was started but returned exit code=13

Could someone one clarify why my Eclipse (http://developer.android.com/sdk/index.html) from ADT won't start?

Every time I'm getting this error:

---------------------------
Eclipse
---------------------------
Java was started but returned exit code=13
C:Program Files (x86)Javajre7injavaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.0.5-757759
-XX:MaxPermSize=256m
-jar C:UsersAlexeyDesktopmpadt-bundle-windows-x86_64-20130729adt-bundle-windows-x86_64-20130729eclipse\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher C:UsersAlexeyDesktopmpadt-bundle-windows-x86_64-20130729adt-bundle-windows-x86_64-20130729eclipseeclipse.exe
-name Eclipse
--launcher.library C:UsersAlexeyDesktopmpadt-bundle-windows-x86_64-20130729adt-bundle-windows-x86_64-20130729eclipse\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807eclipse_1503.dll
-startup C:UsersAlexeyDesktopmpadt-bundle-windows-x86_64-20130729adt-bundle-windows-x86_64-20130729eclipse\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)Javajre7injavaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.0.5-757759
-XX:MaxPermSize=256m
-jar C:UsersAlexeyDesktopmpadt-bundle-windows-x86_64-20130729adt-bundle-windows-x86_64-20130729eclipse\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
---------------------------
OK   
---------------------------
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Error occurs when IDE(eclipse) bit-version (i.e. 32 or 64 bit) and jre bit-version mismatch! I have downloaded the 64 bit version and it showed me the exact error. But 32-bit version worked really fine. JRE version (1.6 or 1.7) doesn't matter. I think you dont need to downgrade. Because in my case, I had Java Version 1.7.0_45, whereas SDK requires 1.6, but it still worked perfectly fine!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...