Home >Java >JavaBase >Error loading java vm

Error loading java vm

angryTom
angryTomOriginal
2019-11-20 10:28:566480browse

Error loading java vm

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn