360 security defender with Eclipse 3.7 start conflict "Failed to create" Java Virtual Machine Solution __eclipse

Source: Internet
Author: User

I have a native memory of 1G (the machine 1G memory may not be the case above), 360 security defender Run, start Eclipse 3.7, launch failure, prompt information as follows

Failed to create the Java Virtual Machine

Solution One: Reduce the startup initialization memory value of Eclipse

Modify the memory value in the file "install directory/eclipse/eclipse.ini" as follows:

-startup
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
-xmx512m

Note: The 128M value of lines 10th and 14th is originally 256M.

Solution Two: Specify the JVM launched by Eclipse (recommended)

Modify the file "install directory/eclipse/eclipse.ini" to add the following information to the file:

-startup
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
-vm
c:/program files/java/jre7/ Bin/javaw.exe
-vmargs
-dosgi.requiredjavaversion=1.5
-xms40m
-xmx512m

Note: Lines 17th and 18th are to be placed before the 19th line "-vmargs" and overwrite the "Bin/javaw.exe" of the cost machine jdk or JRE.

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.