windows under jdk installation
download
jdk1.8 Download
this is my own offer jdk1.8 x64
installation
Double-click the installation file, Fool can be installed, suggesting things are installed, it is best to install a secure path (not Chinese, do not move often, there is a stable logical space is a good habit)
Configuration Environment
- Open File Explorer , right-click in the left sidebar to this computer , select Properties , then will pop up a pop (Figure).
- Then click on the left side of the Advanced system settings , and came out a pop.
- Click on environment variables , in a new pop you can see there are system variables
- Click New , variable name input
JAVA_HOME
, variable values enter your JDK installation path (can also be found by browsing the directory) - In the System variables can be found in the name PATH variable, select , click on the following edit , add
%JAVA_HOME%\bin
. Note : If you are not following this display mode, the kind of variables adjacent edit box, to be added in front of the semicolon to separate, you look at your situation should be able to understand.
- The new open cmd a window, are input
java -version
,javac -version
verification can display the corresponding version is configured successfully.