' JAVAC ' is not an internal or external command, nor is it a program or batch file that can be run. Problem Solving method Sharing!
' JAVA ' is not an internal or external command, nor is it a program that can be run or a batch file solution similar.
Reason one: No jdk installed, only JRE installed
- 1
JDK1.7.0_60+JRE is complete, if the JDK is not installed, the cmd inside the input JAVAC will prompt "' JAVAC ' is not an internal or external command, is not a running program or batch file"
Steps to read
- 2
The workaround is to install the JDK
END
Baidu Experience: jingyan.baidu.comJDK and JRE installed, but configuration failed
- 1
If the JDK is installed, the normal cmd input javac must be successful. You will be prompted with the following information
Steps to read
- 2
Therefore, there is a problem with the environment configuration, so check three places, the first "Java_home"
The content of the Java_home is the JDK installation directory. Location:D:\Program Files (x86) \java\jdk1.7.0_60, and no semicolon behind
Steps to read
- 3
Second, check classpath, which is a call to a jar package. .; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; (preceded by a number and semicolon, and a semicolon at the end.)
Or can be written as ".; %java_home%\lib ", the same effect.
Steps to read
- 4
Third check if the "PATH" variable is correct
The path variable is simply the meaning of the bin directory of the JDK. %java_home%\bin;
Steps to read
- 5
There will be no problem if the above points are completed.
Android development environment JDK configuration execution JAVAC hint not internal or external command resolution