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

前端 未结 30 1445
野的像风
野的像风 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:24

    For me the solution was to go into (on Windows 8.1):

    System > Advanced system setting > Environment Variables 
    

    Under 'System variables' in the 'Path' variable there was the following first:

    C:\ProgramData\Oracle\Java\javapath;
    

    I removed this and Eclipse worked again!

    0 讨论(0)
  • 2020-11-22 01:24

    A clean reinstall of the Java JDK did the trick in my case. I am running Eclipse 4.4 (Luna) like a charm now.

    0 讨论(0)
  • 2020-11-22 01:24

    I tried the following solution:

    I created a shortcut of javaw.exe from path C:\Program Files\Java\jdk1.7.0_71\bin and pasted it into the path C:\ProgramData\Oracle\Java\javapath.

    After that, I launched Eclipse, and it worked for me.

    0 讨论(0)
  • 2020-11-22 01:28

    There are working combinations of OS, JDK and Eclipse bitness. In my case, I was using a 64-bit JDK with a 32-bit Eclipse on a 64-bit OS. After downgrading the JDK to 32-bit, Eclipse started working.

    Use one of the following combinations.

    • 32-bit OS, 32-bit JDK, 32-bit Eclipse (32-bit only)
    • 64-bit OS, 32-bit JDK, 32-bit Eclipse
    • 64-bit OS, 64-bit JDK, 64-bit Eclipse (64-bit only)
    0 讨论(0)
  • 2020-11-22 01:29

    I had this issue. I installed Java 8 update 25 via Chrome, and therafter attempting to start Eclipse gave the mentioned error.

    Uninstalled that update, and Eclipse works again.

    0 讨论(0)
  • 2020-11-22 01:30

    The solution is simple: Put the "eclipse" folder on "C:/Program Files". If it does not work, put it in "C:/Program Files (x86)".

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