First, official website: http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
Click the Download button in the
Second, first click Accept the consent form, then you can download and save according to your own needs
Third, install: Double-click the download package to install, follow the prompts to click Next, remember the installation location
Four, the configuration environment:
1. Set environment variable settings after installation is complete. Open "Control Panel", click "System", click "Advanced System Settings", then "environment variable", enter the environment variable setting interface.
2, in the system variables or user variables to create a new variable and set parameters, such as 1: variable name java_home, the variable value is C:\Program files\java\jdk1.8.0_71 (own computer JDK installation path);
3. Find the path variable under the system variable, edit it, add two variable value after the value of the variable, refer to 2:%java_home%\bin;%java_home%\jre\bin; (JDK is the development environment, the JRE is the running environment)
V: Verify:
1, click Start, enter in the search box: cmd and then to enter;
2, enter java-version (view Java version, note that there is a space after 1.java 2. Is the midline is not underlined) to enter
3, if the content (where 1.8.0.71 is the version number), prove that the JDK installation configuration is successful, or failure.
Download, install JDK8 (under Windows) and configure the variable environment