1. Download Java SDK installation package
Using the version of the 1.5 code Tiger, download from http://java.sun.com website, the file name is JDK-1_5_0-RC-Windows-i586.exe, from the file name, this is an Intel platform Windows operation The version used in the environment is 44,903kb.
2. Run the file, perform the installation
Preparation before installation
Click "I accept the terms in the license agreement", click "Next"
Here you can use the "CHANGE" button to modify your installation location and select the installed parts, click "Next" to continue
Image is in the installation process
Select the installation location of the J2SE running environment and its components, click "Next" to continue
Click "NEXT" to continue
Image is in the installation process
Installation is complete, click "Finish" to exit the installer
3. Set system variable
Open the Control Panel, double-click the System panel item, and click the "Advanced" tab
Click the "Environment Variable" button
New "System Variable", java_home is the J2SDK installed directory C: /J2SDK1.5.0
Modify "System Variable", PATH Add% Java_Home% / Bin
The old version generally also adds a ClassPath system variable, and the new version is no longer required, but some software may still need, so set it.