eclipse启动报错eclipse failed to create the java virutal machine

早上一来,我的eclipse就无法启动了,错误就是这句话:

eclipse failed to create the java virutal machine

直译就是eclipse无法创建JAVA虚拟机。

问题解决思路:

1.确保java虚拟机是已经正常运行的。

2.确保JAVA_HOME的环境变量是正确设置的。

3.检查eclipse的启动配置项eclipse.ini

--------------------------------------------------------------------------

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m

---------------------------------------------------------------------------

由于我的系统是Windows 32位的操作系统,而且已经运行了VM虚拟机,所以推测可能是

预分配的最大内存不满足条件。

将-Xmx1024m修改为-Xmx512m,顺利启动。

posted @ 2015-07-07 09:14  一沙世界  阅读(238)  评论(0编辑  收藏  举报