JavaSE (two) installed JDK

1, the official website to download java installation package.
a, select the installation package for their computer operating systems
such as Mac linux 32-bit and 64-bit
2, environment configuration (note that characters must be in English characters)
Open My Computer - Advanced System Settings - Add variables
a, JAVA_HOME: jdk installation path row such as
C: \ Program Files \ the Java \ jdk1.8.0_171
Here Insert Picture Description
B, which increased in the path
; the JAVA_HOME%% \ bin;%% the JAVA_HOME \ JRE \ bin
Here Insert Picture Description
C, Windows + R & lt black window open
input java -version
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/dscfirst/article/details/90581138