Installing the JDK on Linux

  1. Enter the URL:http://java.sun.com/javase/downloads/index_jdk5.jsp.
  2. From the Sun Developer Network page, scroll to find the heading JDK 5.0 Update 14.
  3. Select Download.
  4. From the Sun Developer Network page, accept the license agreement and scroll to the heading "Linux Platform - Java Development Kit 5.0 Update 14".
  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}.