Failed to create the Java Virtual machine when Eclipse starts

Source: Internet
Author: User
Eclipse startup pops up failed to create the Java Virtual machine one, the phenomenon

The Java Virtual machine error Failed to create appeared today when Eclipse was installed.

The error picture is as follows:

Second, the cause of the error

Translate the error message, that is, "unable to create a Java Virtual machine", in fact, this is the description:

My eclipse version is incompatible with the virtual machine

Third, find errors

And we know that Eclipse uses the Java operating environment of the system, which is our own Java Virtual machine, which is our own JDK.

(This is different from the operating environment of MyEclipse, I use the MyEclipse Java Runtime Environment is the software comes with.) )

So I looked at the eclipse configuration file, Eclipse.ini.

I was surprised to find that the JDK for the Eclipse neon.3 (4.6.3) version was version 1.8, and my own JDK had only 1.78 versions.

Then I changed the JDK version and solved the problem.

Iv. Experience

Error, look carefully at the error, and then think about the probable cause of the error.

After the error, go to the configuration file, the system log, find out the cause of the error

Failed to create the Java Virtual machine when Eclipse starts

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.