Install java programming tools in win7
1. download java
Official Address: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html
Java SE Runtime Environment 8 Update 114 for Windows JDK6 32/64 latest JAVA Runtime Environment download: http://www.downcc.com/soft/info/13852.html
Ii. install java
We recommend that you keep clicking Next during the installation process, because there may be plug-ins or advertisements, and you can also set environment variables in the future.
3. Set Environment Variables
The environment variable settings for win7 are similar to those for xp. Right-click computer> Properties> advanced system settings and choose advanced> environment variable from system properties]
The default java installation path is C: Program FilesJavajdk1.6.0 _ 26.
Set the environment variable to be the same as that of xp.
Add the java_home and classpath variables in the [system variables] and edit the path
Java_home variable value: C: Program FilesJavajdk1.6.0 _ 26
The variable value of classpath is.; C: Program FilesJavajdk1.6.0 _ 26libdt. jar, C: Program FilesJavajdk1.6.0 _ 26libtools. jar (pay attention to the first two punctuation marks.; Do not miss out)
Add the following two paths to the end of the variable value of path; C: Program FilesJavajdk1.6.0 _ 26bin; C: Program FilesJavajdk1.6.0 _ 26 jrebin (note that there is a symbol above ;)
After the environment variables are set, they are basically OK!
Check whether java is installed. You only need to input the javac, java-version, and javac commands in the command prompt to check whether the following results are correct.