An error occurred when loading java vm
1. This problem is usually a JAVA problem, check the control panel , are there other versions of JAVA in the program uninstallation? If so, you can try to uninstall it first.
2. Then you can check whether you have set the JAVA environment variable in the environment variable. If so, delete it.
3. Reconfigure the JAVA environment variables later:
1) Do not use the JAVA_HOME variable in the JAVA installation tutorial.
2) Use absolute paths when establishing PATH and CLASSPATH, do not use %JAVA_HOME%. That is, manually replace %JAVA_HOME% with C:\Program Files\Java\jdk1.8.0_144 (jdk installation path).
Then, the program can run.
php Chinese website, a large number of free Java introductory tutorials, welcome to learn online!
The above is the detailed content of Error loading java vm. For more information, please follow other related articles on the PHP Chinese website!