1, the JDK net official download link
to download in accordance with the red box. (Choose your own version needed)
2, install
Click jdk11 installation package for installation.
3, environment variable configuration
Right-click My Computer, click Properties
New JAVA_HOME variable, and enter the installation directory JDK11.
Edit the Path variable;% JAVA_HOME% \ bin; this variable is inserted.
4, the command prompt window (win + R) input cmd jdk11 verify successful installation.
Note:
1, when JAVA jdk installed, the directory name is best not to have Chinese, comma, underscore, space and other issues, so prone to error.
2, be sure to write clearly jdk installation directory, you need to fill in when creating a new JAVA_HOME variable.
3, edit the Path variable when the attention should have a semicolon Also note jdk11 environment variable configuration is inconsistent with the old version.