Java 64-bit environment variable configuration in Windows 7: javac is neither an internal command or an external command, nor a program or batch file that can be run ., Windows7java64
After JDK (Java Developement Kits) is installed according to the default settings, the default path is C: \ Program Files \ Java \ jdk1.8.0 _ 05_x64.
Then, configure the environment variables: "computer", right-click "properties", "Advanced System settings", "advanced", and "environment variables" to open the environment variable settings window.
Then, add the following "system environment variables" in order ":
1. variable name: JAVA_HOME
Variable value: C: \ Program Files \ Java \ jdk1.6.0 _ 26
2. variable name: CLASSPATH
Variable value: C: \ Program Files \ Java \ jdk1.8.0 _ 05_x64 \ lib \ dt. jar; C: \ Program Files \ Java \ jdk1.8.0 _ 05_x64, lib \ tools. jar; (Note the semicolon)
3. Double-click the "PATH" variable and add:; C: \ Program Files \ Java \ jdk1.6.0 _ 26 \ bin after the variable value (note the semicolon ).
Close all cmd windows. Re-open a java command and javac command.
Technorati Tag: Java runtimer enviroment setting in Windows7 Ultimate 64bit.
I configured the jdk environment variable to input the javac old variable in DOS. "javac is neither an internal or external command, nor a program or a batch file"
Your path is:
C: \ Program Files \ Intel \ OpenCL SDK \ 2.0 \ bin \ x86E: D: \ jdk \ bin;
Do you want to change it:
C: \ Program Files \ Intel \ OpenCL SDK \ 2.0 \ bin \ x86; D: \ jdk \ bin;
The jdk environment variable does not take effect after it is set. javac prompts "it is not an internal or external command or a program file that can be run"
You have many configuration errors, not only path errors, but also classpath errors.
The correct configuration is in the system variables:
JAVA_HOME
C: \ Program Files \ Java \ jdk1.7.0 _ 21
Path
% JAVA_HOME % \ bin; C: \ Windows \ system32; C: \ Windows \ System32 \ Wbem;
CLASSPATH
.; % JAVA_HOME % \ lib \ tools. jar; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ jre \ lib \ rt. jar;