Eclipse 3.7(indigo) 在打开时报”Fail To Create The Java Virtual Machine”

Eclipse 3.7(indigo) 在打开时报”Fail To Create The Java Virtual Machine”

解决方法: 修改Eclipse安装目录下的eclipse.ini配制文件,将256修改为128即可.

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-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

修改为:

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

 照此修改后即可。

修改方法乃是网上搜的,但深究其因,自力不从心。对eclipse本身的东西没有任何深入,若有高手路过,请略说一二,本人自当悉心受教。 


 

 

posted @ 2012-02-10 23:12  greatjone  阅读(1176)  评论(0)    收藏  举报