Baidu Search: Java SE Development Kit, you can download the Java SDK, the latest version is 8.0.
: Jdk-8u11-windows-i586.1406279697.exe
Of course, you can also go to the official download.
Installation here does not send a map, you can always point to the next step.
My installation is on the D drive.
After installation we find the bin directory of the installation directory and copy it, mine is: D:\Program Files (x86) \java\jdk1.8.0_11\bin
Then right-click on the desktop "Computer", select "Properties", open "advanced System Properties", XP operation is the same, but the system properties interface slightly different:
Click on the following steps to open:
In the 4th step, at the end of the ";", and then copy just the bin path, my is: "D:\Program Files (x86) \java\jdk1.8.0_11\bin", and finally it is best to add a ";", note ";" It is in English ";".
So the environment has been set up.