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.