Eclipse EE 3.6 failed to create the java virtual machine 解决

新下载了Eclipse EE 3.6

启动Eclipse时弹出对话框提示:failed to create the java virtual machine

机器上已经安装了JDK 版本是1.5

 

查看同目录下的配置文件eclipse.ini

 

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

 

对于SOA版本的Eclipse在我的机器上是可以正常启动的,查看其配置文件:

 

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.soa.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx384m

内存使用加在一起太大了,我使用的机器的内存是2GB的

稍微改小一点,仿照SOA版的配置文件,最后一样512M-->384M, OK,启动成功

 

配置文件如下:

 

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms
40m
-Xmx384m

参考:http://hi.baidu.com/%CE%C4%D6%AA%CF%FE/blog/item/e3cdbb13594d940c5baf5335.html

你可能感兴趣的:(java,eclipse,jdk,c,SOA,2010)