Installing Java SE 6
Information
none
Operating system used
Windows Vista Home Premium SP 1
Software prerequisites
none
Procedure
- If you use Windows Vista, disable the User Account Control feature.
- Download and execute jdk-6u7-windows-i586-p.exe (JDK 6 Update 7)
- Add the bin directory to your path, goto:
Control Panel, Select "Advanced system settings", select tab Advanced and click button "Environment Variables".
Add the bin path in the System variables:
e.g.: PATH=%PATH%;C:\Tools\java\jdk1.6.0_07\bin;
Note: Make sure that the Java path setting is put at the end of the other path settings.
- To check if Java SE 6 is installed correctly, open a DOS window and type: java -version
You should see:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
- The downloaded SDK does not contain the Java SE 6 documentation, first download
and unzip jdk-6-doc.zip.
- Move the unzipped docs directory to the jdk1.6.0 location, e.g.:
C:\Tools\java\jdk1.6.0_07\docs
- Read the documentation, e.g.:
C:\Tools\java\jdk1.6.0_07\docs\index.html
|