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

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

    Please check whether you have set two JAVA paths in the Environment Variable section. If you already installed two versions of the JDK, it might be, then double check you have put PATH for Java like below.

    PATH -->  C:\ProgramData\Oracle\Java\javapath
    

    and also

    JAVA_HOME ---> C:\Program Files\Java\jdk1.7.0_02\bin
    

    If both are there, then this sort of error may occur.

    If it's OK, then check in the ".ini" file the below area is OK or not. Open ".ini" file and check

     -VM  path is  C:\Program Files\Java\jdk1.7.0_79\bin\
    

    If not, please set it like that and run again.

提交回复
热议问题