Eclipse: Java was started but returned error code=13 -
this question has answer here:
i updated java 1.8 u25, , message every time try open eclipse
i have no clue i'm doing wrong, when comes eclipse. have re-downloaded number of times still cannot work. how fix this?
this eclipse.ini file
-startup plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.library plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326 -product org.eclipse.epp.package.standard.product --launcher.defaultaction openfile --launcher.xxmaxpermsize 256m -showsplash org.eclipse.platform --launcher.xxmaxpermsize 256m --launcher.defaultaction openfile -vm c:\program files (x86)\java\jdk1.8.0_25\jre\bin --launcher.appendvmargs -vmargs -dosgi.requiredjavaversion=1.8 -xms40m -xmx512m
this error occurs because eclipse version 64-bit. should download , install 64-bit jre , add path in eclipse.ini
. example:
... --launcher.appendvmargs -vm c:\program files\java\jre1.8.0_45\bin\javaw.exe -vmargs ...
note: -vm
parameter should before -vmargs
, path should on separate line. should full path javaw.exe
file. not enclose path in double quotes ("
).
if eclipse 32-bit, install 32-bit jre , use path javaw.exe
file.
Comments
Post a Comment