When Eclipse is started, fail to create the Java Virtual Machine is prompted.

Source: Internet
Author: User


Today, I accidentally opened Eclipse and found that it could not be opened. The following prompt is displayed:



After online query, I found the problem was caused by the eclipse. ini file. Open the eclipse. ini file under the eclipse installation directory:

-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807-productcom.android.ide.eclipse.adt.package.product--launcher.XXMaxPermSize256m-showsplashcom.android.ide.eclipse.adt.package.product--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.6-Xms40m-Xmx768m-Declipse.buildId=v22.3.0-887826-XX:MaxPermSize=512m

Change the 256m to 128 m and the 512m to 256m ~ The change is as follows:

-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807-productcom.android.ide.eclipse.adt.package.product--launcher.XXMaxPermSize128m-showsplashcom.android.ide.eclipse.adt.package.product--launcher.XXMaxPermSize128m--launcher.defaultActionopenFile-vmargs-Dosgi.requiredJavaVersion=1.6-Xms40m-Xmx768m-Declipse.buildId=v22.3.0-887826-XX:MaxPermSize=256m

After simple modification, the instance can be started normally ~



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.