Failed to create the Java Virtual Machine

今天启动Eclipse,告诉我“Failed to create the Java Virtual Machine”。查了查资料,是Eclipse的配置文件需要改下,可能是上次我改过之后出现的问题。主要是改下:launcher.XXMaxPermSize。如下:

-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
128M

-showsplash
org.eclipse.platform
–launcher.XXMaxPermSize
128M

–launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

你可能感兴趣的:(java,eclipse)