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

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

    enter image description here

    The issue was fixed by doing the following steps.

    1. Eclipse finds the JAVA executables from 'C:\ProgramData\Oracle\Java\javapath'

    2. The folder structure will contain shortcuts to the below executables,
      i. java.exe
      ii. javaw.exe
      iii. javaws.exe

    3. For me the executable paths were pointing to my Program Files(x86) (home for 32 bit applications) folder location

    4. I corrected it to Program Files (which homes 64-bit applications) and the issue got resolved

    Please find the screenshot for the same.

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

    The best answer here is too long. I cannot comment so I added my answer.

    1. Go here: http://www.oracle.com/technetwork/java/javase/downloads/index.html
    2. Download the latest SDK (of course for x64 if your computer is x64)
    3. Install it
    4. Now the party is finished, and it's time to work with Eclipse ;)
    0 讨论(0)
  • 2020-11-22 01:35

    I had a similar error after installing Java 8 on my Windows 7 system, 64 bit system.

    Changing environment variables, etc. did not help. So I tried to remove the Java Update 8, but that too did not help. Downloading and installing the 64-bit version of Java 8 SDK fixed my problem. I hope this helps.

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

    The strangest fix ever. Look at your Eclipse path, and make sure you do not have strange characters (like !, #, and @). It worked for me.

    0 讨论(0)
  • I uninstalled Java update 25, and the issue was solved.

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

    I tried some of the solutions, but not worked for me.

    Finally, I found another way, ...

    Go to Environment VariablesSystem Variables

    Set C:\Program Files\Java\jdk1.7.0_02\bin\javaw.exe to the path in the system variables.

    Try it. It worked for me...

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