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

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

    I had the same issue, Java was started but returned exit code=13.

    My solution was to create an environment variable to Windows properties variable name = PATH variable value = C:\Program Files\Java\jdk1.7.0_02\bin, not to C:\Program Files (x86)\Java\jre7\bin.

    Next I added a line to file eclipse.ini → C:\Program Files\Java\jdk1.7.0_02\bin\javaw.exe.

    That worked for me.

提交回复
热议问题