The reason for the error is probably because there are spaces in the jdk path. Uninstall and reinstall. Do not use the default installation directory and change it to a path without spaces. Reconfigure the computer advanced settings->paht environment variable
The jar exists in jdk, but the running environment jre does not exist.
The reason for the error is probably because there are spaces in the jdk path. Uninstall and reinstall. Do not use the default installation directory and change it to a path without spaces. Reconfigure the computer advanced settings->paht environment variable
There is an alias PROGRA~1 in the Program Files directory windows. Just change the Program Files referenced by JAVA_HOME in the path to PROGRA~1
PS. You need to restart the CMD window to use the new JAVA_HOME