Cannot run Eclipse; JVM terminated. Exit code=13

前端 未结 30 2776
生来不讨喜
生来不讨喜 2020-11-21 05:31

\"enter

I just append -vm C:\\Program Files\\Java\\jre6\\bin\\javaw.exe

in ec

30条回答
  •  日久生厌
    2020-11-21 05:56

    After java update, eclipse will not start because default jdk location has changed. Adding the following lines to eclipse.ini file solved my problem immediately:

    -vm
    C:\Program Files (x86)\Java\jdk1.7.0_75\bin\javaw.exe
    

    I added these lines just before vmargs. It looks like as the following :

    ...
    --launcher.defaultAction
    openFile
    -vm
    C:\Program Files (x86)\Java\jdk1.7.0_75\bin\javaw.exe
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Dhelp.lucene.tokenizer=standard
    -Xms40m
    -Xmx512m
    

    For more information on eclipse.ini, visit this the site http://wiki.eclipse.org/Eclipse.ini#-vm_value:_Windows_Example

    In my case, i use 32 bit eclipse and java. If you installed both 32 bit and 64 bit versions of java, be careful to choose the right version. For 64 bit versions, refer to the javaw.exe file under the directory

    C:\Program Files\Java\jdk1.8.0_60\bin
    

提交回复
热议问题