After installing the JDK (Java developement Kits) By default, the default path is: C:\Program files\java\jdk1.8.0_05_x64\ folder.
Then configure the environment variables: computer Right-click Properties--Advanced system settings--advanced--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 semicolon)
3. Double-click the "PATH" variable and add it after the value of the variable:; C:\Program Files\java\jdk1.6.0_26\bin; (Note the semicolon).
Then close all the cmd windows. Reopen a separate input java command and Javac command.
Technorati tag: Java runtimer enviroment setting in Windows7 Ultimate 64bit.
JAVA64 bit environment variable configuration in Windows7: Javac is not an internal command or external command, nor is it a program or batch file that can be run.