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