http://lixueli26.iteye.com/blog/711152
Similar scenarios occur in the following versions and are resolved using the same approach.
Version:eclipse-jee-indigo-win32
The JDK version installed on your computer is: jdk-6u26
Start after decompression, find pop-up prompt box " Failed to create the Java VirtualMachine"
Workaround:
to find the Eclipse.ini in the Eclipse directory, you can see the following:
-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
256M
-showsplash
Org.eclipse.platform
–launcher. Xxmaxpermsize
256m
–launcher.defaultaction
openFile
-vmargs
-dosgi.requiredjavaversion=1.5
- xms40m
-xmx512m
modifies the –launcher. xxmaxpermsize
As follows:
-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
Failed to create the Java Virtual machine (ZT)