Window10 system is not an internal command javac

New Environment variables: the value of the JAVA_HOME: D: \ Program Files \ Java \ jdk1.7.0
New Environment variables: the CLASSPATH value:;.% JAVA_HOME% \ lib ; ( Note: No dot represents the current directory, not shown)
in the system variables Path preceding value added to the following:% JAVA_HOME% \ bin; (Note: semicolon here not shown) here, JDK installed.

Click "Start" -> "Run" -> type: cmd command in the CMD window, enter: java -version (normal)

But enter: javac (error, not an internal or external command, a passenger action program or batch file)

PATH path configurations must use absolute paths, which can not JAVA_HOME
----------------
Disclaimer: This article is the original article CSDN bloggers "wo1901446409", and follow CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/wo1901446409/article/details/98209252

Guess you like

Origin www.cnblogs.com/bh752791/p/11525768.html