Can't start Eclipse - Java was started but returned exit code=13

前端 未结 30 2048
野的像风
野的像风 2020-11-22 00:49

I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago.

30条回答
  •  佛祖请我去吃肉
    2020-11-22 01:11

    I got this error and found that my PATH variable (on Windows) was probably changed. First in my PATH was this entry:

    C:\ProgramData\Oracle\Java\javapath
    

    ...and Eclipse ran "C:\ProgramData\Oracle\Java\javapath\javaw" - which gave the error. I suspect that this is something that came along with an installation of Java 8.

    I have several Java versions installed (6,7 and 8), so I removed that entry from the PATH and tried to restart Eclipse again, which worked fine.

    If it's doesn't work for you, you'll need to upgrade your JDK (to the Java versions - 8 in this case).

    Instructions on how to edit PATH variable

提交回复
热议问题