Failed to create the Java Virtual Machine, eclipsefailed

Source: Internet
Author: User

Failed to create the Java Virtual Machine, eclipsefailed
Failed to create the Java Virtual Machine 1 is displayed when eclipse is started.

The error "Failed to create the Java Virtual Machine" occurred when installing eclipse today.

The error image is as follows:

 

Ii. Cause of error

Translate the error prompt, that is, "the Java Virtual Machine cannot be created". In fact, this is to say:

My eclipse version is not compatible with virtual machines

 

Iii. Search Error

We know that eclipse uses the system's Java runtime environment, that is, our own Java virtual machine, that is, our own installed jdk.

(This is different from the runtime environment of myeclipse. the Java Runtime Environment of myeclipse is provided by the Software .)

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

I was surprised to find that the JDK required by Eclipse Neon.3 (4.6.3) is version 1.8, while my own JDK only has version 1.78.

Then I changed the JDK version to solve the problem.

 

Iv. Experiences

If an error occurs, check whether the error is correct or not, and then consider the possible causes of the error.

Go to the configuration file and system log to find out the cause of the error.

 

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.