1, Reason: Java Virtual machine error, computer memory is not enough, there is another way to say that your version of Eclipse and virtual machine is incompatible.
2. Workaround: Locate the Eclipse.ini configuration file under the Eclipse installation directory and open:
-Startup-vm D:\JAVA\JRE6\BIN\JAVAW Plugins/org.eclipse.equinox.launcher_1.2.0. V20110502.jar--Launcher.library Plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100. v20110502-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-dsun.lang.classloader.allowarraysyntax=true
Then change the 256M to 128m,512m to 128M, then restart Eclipse.
I use the above method to solve the problem, there may be other reasons, you can refer to here, summed up three kinds of situations:
eclipse:failed Create Java Virtual machine
Failed to create the Java Virtual Machine workaround