Installing the JDK on Linux
-
Enter the URL:http://java.sun.com/javase/downloads/index_jdk5.jsp.
-
From the Sun Developer Network page, scroll to find the heading
JDK 5.0 Update 14.
-
Select Download.
-
From the Sun Developer Network page, accept the license agreement
and scroll to the heading "Linux Platform - Java Development Kit 5.0 Update 14".
-
Select and download self-extracting file
.
-
Run and install into a Linux home directory.
-
Set the JAVA_HOME environment variable using export JAVA_HOME=${java_dir}.