Installing the JDK on Linux

  1. Enter the URL:http://java.sun.com/j2se/1.4.2/download.html.
  2. From the Sun Developer Network page, scroll to find the heading J2SE v 1.4.2_13 SDK.
  3. Select Download J2SE SDK.
  4. From the Sun Developer Network page, accept the license agreement and scroll to the heading "Linux Platform - Java(TM) 2 SDK, Standard Edition 1.4.2_13".
  5. Select and download self-extracting file .
  6. Run and install into a Linux home directory.
  7. Set the JAVA_HOME environment variable using export JAVA_HOME=${java_dir}.