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

后端 未结 15 1227
你的背包
你的背包 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 21:49

    I had this problem after updating my JRE. I downloaded the latest JDK and the problem was fixed. The JRE has to match the JDK for Eclipse to run.

    0 讨论(0)
  • 2020-12-19 21:49

    Only add following two line at top of eclipse.ini :-


     -vm
    
     C:\Program Files\Java\jdk1.7.0_60\bin/javaw.exe
    

    Note: Replace 'jdk1.7.0_60' with your installed version

    0 讨论(0)
  • 2020-12-19 21:50

    Check that the version being used by Eclipse is same as shown in your error code. If not, call that version explicitly.

    "C:\Program Files (x86)\Java\jre7\bin\java.exe" -version
    
    0 讨论(0)
  • 2020-12-19 21:52

    A few more checks...

    Ensure you remove all older versions of Java. Having multiple versions of the Java Runtime will cause this error. Also check what OS you are using. Is it 32-bit or 64-bit? You need to install the appropriate version of the Java runtime. You cannot run ADT/Eclipse on a 64 bit OS with a 32-bit Java runtime. Hope this helps.

    0 讨论(0)
  • 2020-12-19 21:52

    If you still getting same error after trying all solution described here, then try to move your whole eclipse folder in the drive (D:) another than the drive ( C:) where you have installed your jdk. This worked for me

    0 讨论(0)
  • 2020-12-19 21:55

    Error occurs when IDE(eclipse) bit-version (i.e. 32 or 64 bit) and jre bit-version mismatch! I have downloaded the 64 bit version and it showed me the exact error. But 32-bit version worked really fine. JRE version (1.6 or 1.7) doesn't matter. I think you dont need to downgrade. Because in my case, I had Java Version 1.7.0_45, whereas SDK requires 1.6, but it still worked perfectly fine!

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