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

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

    I had the same problem. I was using Windows 8 with a 64-bit OS. I just changed the path to Program Files (x86) and then it started work. I put this line in the eclipse.ini file:

    -vm
     C:\Program Files (x86)\Java\jre7\bin\javaw.exe
    
    0 讨论(0)
  • 2020-11-22 01:18

    You have to go to the folder where eclipse is installed and then you have to change the eclipse.ini file.

    You have to add

    -vm

    C:\Program Files\Java\jdk1.8.0_202\bin\javaw.exe

    Your eclipse.ini file will look like the below screenshot

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

    I had this message when I had forgot to install the JDK.

    0 讨论(0)
  • 2020-11-22 01:20
    1. Under system environment variables, make sure "C:\ProgramData\Oracle\Java\javapath" is removed.

    2. Under system environment variables, make sure "C:\Program Files\Java\jdk1.8.0_131\bin" is added.

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

    It could be due to too little memory. You can modify the eclipse.ini file to increase the memory. Something like this might help you: FAQ How do I increase the heap size available to Eclipse?

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

    Adding vm argument to .ini file worked for me

    -vm
    C:\Program Files\Java\jdk1.7.0_65\bin\javaw.exe
    
    0 讨论(0)
提交回复
热议问题