I got the same error while starting Netbeans
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I try to restart Netbeans
many times. Same error was repeating. Later I found it was happening as some other application is already using JVM
. So I looked for such an application which was Tomcat Server
. I terminated Tomcat
and tried starting Netbeans
again and it was fine. So try looking for any application that uses JVM
.
stop tomcat java即可用