Eclipse problem "failed to create the Java Virtual Machine" SOLUTION

Source: Internet
Author: User

I don't know if it is because of the system and the specific JDK version. I haven't encountered this problem in win7 before. Today, I installed an XP system on my computer and ran eclipse.

This problem occurs, as shown in:

In the beginning, I thought that the virtual machine could not be found in eclipse, and the JVM. dll file needs to be created. But this is not the problem. I need to change the heap size configuration of eclipse. ini, Which is 128 MB,

I have not studied this in depth. I don't know if it is because of the XP system. It determines that it is 128 MB.

The eclipse. ini before modification is:

 1 -Startup
2 Plugins/org. Eclipse. Equinox. launcher_1.2.0.v20110502.jar
3 -- Launcher. Library
4 Plugins/org. Eclipse. Equinox. launcher. win32.win32. x86_1.1.100.v20110502
5 -Product
6 Org. Eclipse. EPP. Package. Jee. Product
7 -- Launcher. defaultaction
8 Openfile
9 -- Launcher. xxmaxpermsize
10 256 m
11 -Showsplash
12 Org. Eclipse. Platform
13 -- Launcher. xxmaxpermsize
14 256 m
15 -- Launcher. defaultaction
16 Openfile
17 -Vmargs
18 -Dosgi. requiredjavaversion = 1.5
19 -Xms40m
20 -Xmx512m

The modified eclipse. ini file is:

 1 -Startup
2 Plugins/org. Eclipse. Equinox. launcher_1.2.0.v20110502.jar
3 -- Launcher. Library
4 Plugins/org. Eclipse. Equinox. launcher. win32.win32. x86_1.1.100.v20110502
5 -Product
6 Org. Eclipse. EPP. Package. Jee. Product
7 -- Launcher. defaultaction
8 Openfile
9 -- Launcher. xxmaxpermsize
10 128 m
11 -Showsplash
12 Org. Eclipse. Platform
13 -- Launcher. xxmaxpermsize
14 128 m
15 -- Launcher. defaultaction
16 Openfile
17 -Vmargs
18 -Dosgi. requiredjavaversion = 1.5
19 -Xms40m
20 -Xmx512m

In this way, eclipse can run normally after configuration.

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.