The principle left behind as a memento, I also came along for the ride, to write an archive with
First, download jdk
Paste the URL, are generally used in the standard version is javaSE
JavaSE
will then see this screen, click to accept the license, and found their computer version of the corresponding installation package downloaded ok.
Second, the installation
1. If you are installing the package, click on the ok to install
2, if it is compressed format, unzip to where you want to install the next step on the line
as shown below
Third, configure the environment variables
1, right this computer, click Properties
2, click Advanced System Settings
3, click Environment Variables
4, click New system variable to
5, this is a new variable namedJAVA_HOMEVariable value of your java installation position
6, this is the new, variable names areCLASSPATHVariable value ==;.% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar; ==
7, locate the file namedPathVariable behind it to add ==;% JAVA_HOME% \ bin; % JAVA_HOME% \ jre \ bin; ==
Note semicolon, do not forget
OK ok then all the way down to the
last call out the small black box, enterjavawithjavac
Show the following message on the line