Java 2 Standard Edition SDK (J2SE SDK)

 
 
To develop desktop Java applications or if you need a Java Runtime Environment (JRE) you can use the Java 2 Standard Edition Software Development Kit (J2SE SDK).

The latest J2SE SDK version can be downloaded from: http://java.sun.com/j2se/







Installing J2SE SDK 1.4.2



Information
none

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
none

Procedure
  1. Download and execute j2sdk-1_4_2_01-windows-i586-iftw.exe

  2. Set the JAVA_HOME environment variable to the directory where you installed J2SE.
    e.g.: JAVA_HOME=C:\Tools\java\j2sdk1.4.2_01

  3. Add the bin directory to your path.
    e.g.: PATH=%JAVA_HOME%\bin;%PATH%
    Note: Make sure that the "%JAVA_HOME%\bin" path is put in front of the other path settings.

  4. To check if J2SE is installed correctly, type: java -version
    You should see:
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)


  5. The downloaded SDK does not contain the J2SE 1.4.2 documentation, first download and unzip j2sdk-1_4_2-doc.zip.

  6. Move the unzipped docs directory to the j2sdk1.4.2_01 location, e.g.: C:\Tools\java\j2sdk1.4.2_01\docs

  7. Read the documentation, e.g.: C:\Tools\java\j2sdk1.4.2_01\docs\index.html