Installing the JDK on Linux
-
Enter the URL:http://java.sun.com/j2se/1.4.2/download.html.
-
From the Sun Developer Network page, scroll to find the heading
J2SE v 1.4.2_13 SDK.
-
Select Download J2SE SDK.
-
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".
-
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}.