Run javac javac report is not an internal or external command, but run java, java-version normal

JAVA_HOME, classpath are well established in the system variables;
J ava_home add jdk installation directory, pay attention to writing correct java_home: Do not install directory behind a semicolon.
The corresponding value classpath is;.% Java_home% \ lib \ dt.jar;% java_home% \ lib \ tools.jar attention to this place not to miss the foremost point.
Later add the value of the original path;% java_home% \ bin;% java_home% \ jre \ bin

Guess you like

Origin www.cnblogs.com/zhang19925/p/12244021.html