Solve Fail to create the java Virtual Machine, failvirtual

Source: Internet
Author: User

Solve Fail to create the java Virtual Machine, failvirtual

When using eclipse for java programming or Android programming, this problem occasionally occurs: Fail to create the java Virtual Machine. There are a lot of willingness to come up with such prompts, but it is still a small problem in eclipse itself.

--------------------------------------------------------------

Technology qq exchange group: JavaDream: 251572072

-------------------------------------------------------

Open eclipse and the following prompt appears. Are you sure you want to exit
Solve Fail to create the java Virtual Machine
2
Go to the eclipse installation directory and find eclipse. ini.
Solve Fail to create the java Virtual Machine
3
Open with notepad
Solve Fail to create the java Virtual Machine
4
Press ctrl + F on the keyboard, copy the following character "launcher. XXMaxPermSize", remove the quotation marks, and search
Solve Fail to create the java Virtual Machine
5
Change the following two 216m instances to 128 m instances.
Solve Fail to create the java Virtual Machine


Method 2
Still in the eclipse installation directory, find eclipse. ini
Solve Fail to create the java Virtual Machine
Open with notepad
Solve Fail to create the java Virtual Machine
Press ctrl + F on the keyboard, copy the following character "Dosgi. requiredJavaVersion", remove the quotation marks, and search
Solve Fail to create the java Virtual Machine
Change 768 to 512 and save the notebook.
Just open eclipse.
Solve Fail to create the java Virtual Machine


Why does a Failed to create the Java Virtual Machine pop up during eclipse startup? How can this problem be solved?

The Java Virtual Machine reports an error because your eclipse version is incompatible with the virtual machine.
Solution:
Open the directory where eclipse is located, find the eclipse. ini file, and change it to the following content, you can 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.0.v20100503
-Product
Org. eclipse. epp. package. jee. product
-- Launcher. defaultAction
OpenFile
-- Launcher. XXMaxPermSize
128 M
-Showsplash
Org. eclipse. platform
-- Launcher. XXMaxPermSize
128 m
-- Launcher. defaultAction
OpenFile
-Vmargs
-Dosgi. requiredJavaVersion = 1.6
-Xms40m
-Xmx256m

Why does a Failed to create the Java Virtual Machine pop up during eclipse startup? How can this problem be solved?

The Java Virtual Machine reports an error because your eclipse version is incompatible with the virtual machine.
Solution:
Open the directory where eclipse is located, find the eclipse. ini file, and change it to the following content, you can 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.0.v20100503
-Product
Org. eclipse. epp. package. jee. product
-- Launcher. defaultAction
OpenFile
-- Launcher. XXMaxPermSize
128 M
-Showsplash
Org. eclipse. platform
-- Launcher. XXMaxPermSize
128 m
-- Launcher. defaultAction
OpenFile
-Vmargs
-Dosgi. requiredJavaVersion = 1.6
-Xms40m
-Xmx256m

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.