Installation of part I:JDK
JDK (Java Development Kit) is the Java Language Software Development Kit (SDK).
is an essential operating environment for running and developing Java software.
As long as Baidu "JDK", download the appropriate version of their own PC installation can be.
environment variable configuration for part II:JDK
The JDK is installed by default, but development tools such as eclipse cannot find the path to the JDK, and we need to configure the environment variables. The following are the steps:
(1) Right-click on "My Computer", select "Properties", "Advanced", "Environment variables", "User Variables", "new". Enter "Java_home" in the "Variable name" box, enter "C:\Program files\java\jdk1.7.0_67" in the "Variable Value" box (as per the installation path), click "OK", java_home Setup is complete.
(2) Then the configuration of "path". Check "System variables" to see if there is a path project, if not click on "new", if it already exists, select the path option, click the "Edit" button, "Variable name" input box fill "path", "Variable Value" input box fill "C:\Program files\java\ Jdk1.7.0_67\bin "(according to the installation path). Path Setup is complete.
(3) The following is the configuration of "Classpath". Check "System variables" to see if there is a classpath project, if not, click "New", if it already exists, select the CLASSPATH option, click the "Edit" button, and then in "Variable name" fill in "Classpath", inthe "variable value" in the "C : \program Files\java\jdk1.7.0_67\jre\lib "(according to the installation path). Classpath Setup is complete.
Part III: Verifying the configuration of the JDK
Now that the JDK environment variable has been configured, you can see the Java version of the information to determine if the installation was successful by opening the Command Prompt window (run-and-cmd), entering the command "Java-version" (There are spaces here).
This article is from the "Sophoso CS Learning path" blog, please be sure to keep this source http://sophoso.blog.51cto.com/9442872/1560363
Java JDK installation and environment configuration