当前位置: 代码迷 >> Eclipse >> eclipse异常java was started but returned exit code =-805306369
  详细解决方案

eclipse异常java was started but returned exit code =-805306369

热度:146   发布时间:2016-04-23 12:57:55.0
eclipse错误java was started but returned exit code =-805306369
这个错误原因可能有很多,这只是一只可能的解决方法,如下:

主要原因是eclipse.ini配置文件错误了,配置文件中-vm参数设置错误,或者没有-vm这行,在windows7系统下需要使用 " / " 而不是 " \ "

原配置文件:

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:\soft\Java\jdk1.6.0_25\bin\javaw.exe
--launcher.defaultAction
openFile

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

修改后的配置文件:

-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:/soft/Java/jdk1.6.0_25/bin/javaw.exe
--launcher.defaultAction
openFile

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

  相关解决方案