The JDK (Java development Kit) is the core of the entire Java, including the Java execution Environment, Java tools, and the Java base Class library. JDK as a Java development environment, whether it is to do Java development or do Android development, you must install the JDK on the computer.
64-bit: http://www.oracle.com/technetwork/java/javase/downloads/index.html
JDK environment variable configuration method:
After installing the JDK, it is necessary to configure the environment variables of the JDK for normal use. Here's how to configure the JDK environment variables:
1. Right-click computer → properties → advanced system settings → advanced → environment variables
2. System variables → New
Variable name: java_home
Variable Value: (Variable value fill in the installation folder of your JDK.) For example, I am E:\Java\jdk1.7.0)
3. Locate the Path variable in the system variable and select Edit
Enter%java_home%\bin;%java_home%\jre\bin at the end of the variable value;
(Note that the original path is not at the end of the variable value; number, enter it first, then enter the above code)
4. System variables → New
Variable name: CLASSPATH
Variable value:.%java_home%\lib;%java_home%\lib\tools.jar (Note that there is a point in the front)
The configuration is complete with this system variable.
5. Verify that the JDK is configured successfully: Execute cmd input java-version (there are spaces between Java and-version)
Java Learning Path: How to configure the JDK environment variable