1. Download Oracle JDK
Oracle jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Installing the JDK in Windows
When installing, select a directory that does not contain spaces, Chinese, and other special characters to avoid unknown errors.
Hypothetical installation directory: D:\Java\jdk1.8.0\
Select Computer, right-click Select Properties, Advanced system settings, environment variables
Method One:
Modify the System environment variable: Add;D in the original path: \java\jdk1.8.0\
Method Two:
New personal environment variable: variable name PATH variable value D:\Java\jdk1.8.0\
Note: Method two priority can eliminate the impact on other users of the system
3. Other Learning Resources
Runoob:http://www.runoob.com/java/java-tutorial.html
Oracle document:http://docs.oracle.com/javase/8/
Java Learning first-install JDK