Run eclipse, prompting failed to create the Java virtual machine.

Source: Internet
Author: User

Must be in one line, otherwise the Eclipse executable launcher was unable to locate its companion shared library error

Open the Eclipse.ini file under the Eclipse directory and modify the –launcher. The Xxmaxpermsize property, where this property has two-startup

Plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.r36x_v20100810
-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

Change its value to 128m, as follows. (In fact, just change the back one, whichever is later when you start Eclipse)

-startup

Plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.r36x_v20100810
-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

Then you can start it successfully.

Run eclipse, prompting failed to create the Java virtual machine.

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.