Fail to create Java Virtual machine solution on Eclipse startup __java

Source: Internet
Author: User
Problem Description

At first my eclipse was still available, it was good, and then it was like 360 hints there was a bug about Java, and then I made up for this vulnerability, and I started eclipse, and it fail to create Java Virtual machine This error,


So the Internet to find the answer, found a solution, resolved as follows: Solutions

Locate the Eclipse.ini configuration file under the Eclipse installation directory and open the following:

-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

As long as the above 256M to change to 128m,512m to 128M, after the change is as follows:

-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
128M
-showsplash
org.eclipse.platform
--launcher. Xxmaxpermsize
128m
--launcher.defaultaction
openfile
-vmargs
- dosgi.requiredjavaversion=1.5
-xms40m
-xmx256m
-dsun.lang.classloader.allowarraysyntax=true

And then it starts normal.

Related Article

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.