Java beginner, after installing jdk1.8.0_45 This version of the JDK Path,classpath,java_home all set up. All methods have been tried, but in cmd input: Javac, always appears "javac is not internal or external command". It is very puzzling! Finally in the constant groping to solve the problem.
The resolution process is as follows:
1. Check that the installation jdk1.8.0_45 file has the following two folders under the selected path
2. Setting Environment variables
Right-click "My Computer", select "Properties", select "Advanced", click "Environment Variables"
Create a new three environment variable named Java_home, path, classpath, respectively
"Java_home" installs Jdk1.8.0_45 's JDK directory
C:\Program files\java\jdk1.8.0_45
Bin directory under "path" JDK
%java_home%\bin
There is a "." in front of the "classpath" note. There are two paths for each path ending with ";" Separated. Are all symbols in the English state
.%java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
The author of the problem in the installation without notice, the root directory only the JDK does not have a JRE file. The JRE is the environment in which the Java program is running, so a title error has occurred. Reinstall the JDK1.8.0_45, and then configure the environment variables as you did in the previous steps.
Javac is not an internal or external command