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

后端 未结 15 1228
你的背包
你的背包 2020-12-19 21:23

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:

---         


        
相关标签:
15条回答
  • 2020-12-19 22:00

    The reason of the error is because your Eclipse and JDK versions are different. Solution is simple. Define what your JDK bin folder is and use eclipse -vm JDK_bin_path command.

    Example: In my case a folder is C:\Program Files\Java\jdk1.8.0_25\bin Then right click on your Eclipse.exe file, select Shortcut tab, in Target field, right after eclipse.exe, write -vm "C:\Program Files\Java\jdk1.8.0_25\bin"

    That's all. Let me know if you have problems.

    0 讨论(0)
  • 2020-12-19 22:03

    this happened to me as well due t mismatch in 64-bit eclipse and 32-bit java. in my case the problem was that I had downloaded java from 32-bit chrome browser (java download probably picks up 32/64 bit architecture from browser details - not sure), even though was using 64 bit windows.

    Solution that worked for me...

    1) uninstall java

    2) restart system

    3) navigate to the java download page

    4) instead of choosing "Agree and Start Free Download", look for "See all Java downloads"

    5) Click on the link and choose appropriate java version that matches your OS

    6) install java

    7) install eclipse.

    done!

    0 讨论(0)
  • 2020-12-19 22:05

    "Java was started but returned exit code=13"

    error is caused when you are attempting to start Eclipse using the wrong version of the Java Virtual Machine (JVM).

    Here are some recommendations to correct this error:

    http://www.ehow.com/how_4784069_terminated-exit-code-error-eclipse.html

    0 讨论(0)
提交回复
热议问题