Failed to create the Java Virtual machine solution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.