[原文章地址]http://blog.csdn.net/jintaiyong/article/details/7230074 感謝
eclipse啓動的時候彈出對話框, 提示(failed to create the java virtual machine.),然後無法打開。
解決方法: eclipse--->eclipse.ini文件, 內容修改爲如下
============================================================================================================
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-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.6
-Xms40m
-Xmx512m
============================================================================================================
紅色的地方爲, 與出錯的時候的eclipse.ini文件不同的地方。