Failed to create Java Virtual Machine
一、修改
修改eclipse.ini文件 中的:
- --launcher.XXMaxPermSize
- 256M
- -showsplash
- org.eclipse.platform
- --launcher.XXMaxPermSize
- 256m
将256换成128即可!修改后的:
- -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
- -vm
- C:\Program Files\Java\jre5\bin\javaw.exe
- -vmargs
- -Dosgi.requiredJavaVersion=1.5
- -Xms40m
- -Xmx512m