After many experiments, we finally solved the error prompt in the DOS window to verify that the JDK was installed successfully-----Javac is not an internal or external command or a running program
The first thing to make clear is that in the new Java_home, the Classpath file is created in the system variable, not in the user variable.
Installation path----JDK in JAVA_HOME:E:\AUTMULU\JAVA\JDK
CLASSPATH:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\bin; -----is the main place where "Javac is not an internal or external command or a program that can be run"
In path: Just need this one on the line, no more to add other directories;%java_home%\bin;
After the installation succeeds, in the DOS window to verify whether the installation was successful, enter the command Java javac java-version
Java and Javac command options appear----instructions are successful.
Java-version Verifying version information
It is recommended that all three commands prove successful in order to avoid any subsequent unnecessary hassles.
Installing JDK in Windows, Javac is not an internal or external command and is not a running program