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

后端 未结 15 1327
你的背包
你的背包 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.

提交回复
热议问题