Sun’s Java Development Kit 1.2.2 for Linux
by Tammy Fox
Introduction
The JDK 2(version 1.2.2) is the first official JDK release by Sun for the Linux platform. It is based on the Blackdown port of JDK for Linux. This first official release supports Swing and all the other features of JDK 2.
Sun’s JDK 1.2 Installation
- Download
jdk1_2_2-linux-i386.tar.gz - Move the TAR file to the
/usr/localdirectory. cd /usr/localtar xvfz jdk1_2_2-linux-i386.tar.gz. This will create a directory namedjdk1.2.2under which the JDK will be located.- Add
/usr/local/jdk1.2.2/binto your PATH. See Setting Your Path. - Execute the command
which java. If it is not/usr/local/jdk1.2.2/bin/java, rename the old java and javac executables. Optional: create a symbolic link from/usr/bin/javato/usr/local/jdk1.2.2/bin/javaand from/usr/bin/javacto/usr/local/jdk1.2.2/bin/javacto ensure the latest version of java is used. The commandjava -versioncan also be used to see which version is being used to compile your Java code.
Where to Download






