Eclipse运行时提醒failed to create the java virtual machine
Eclipse运行时提示failed to create the java virtual machineEclipse用着好好的,今天打开时突然报failed
Eclipse运行时提示failed to create the java virtual machine
Eclipse用着好好的,今天打开时突然报failed to create the java virtual machine;第一反应以为是java虚拟机出问题了,重启了一下windows,不管用,从网上搜了一下,说是要修改eclipse.ini文件,照着做了修改,果然可以启动了。
修改的如下,要把几个是256的地方修改为128,不知道为什么?
?
-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503-productorg.eclipse.epp.package.jee.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx512m将其修改为如下内容,即可启动Eclipse-startupplugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503-productorg.eclipse.epp.package.jee.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize128M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize128m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.6-Xms40m-Xmx256m