Home   |   Guides and Tutorials   |   What's New?   |   Comments   |   About
 

Sun's Java Development Kit 1.2.2 for Linux

by Tammy Fox
Last Modified: Wednesday, 19-May-2004 11:54:46 EDT

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
  1. Download jdk1_2_2-linux-i386.tar.gz
  2. Move the TAR file to the /usr/local directory.
  3. cd /usr/local
  4. tar xvfz jdk1_2_2-linux-i386.tar.gz. This will create a directory named jdk1.2.2 under which the JDK will be located.
  5. Add /usr/local/jdk1.2.2/bin to your PATH. See Setting Your Path.
  6. 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/java to /usr/local/jdk1.2.2/bin/java and from /usr/bin/javac to /usr/local/jdk1.2.2/bin/javac to ensure the latest version of java is used. The command java -version can also be used to see which version is being used to compile your Java code.

Where to Download
What's Related
  • Code Crusader Programming Editor


All Rights Reserved Linux Headquarters © 2000-2007
Linux is a registered trademark of Linus Torvalds
All logos are registered trademarks of their respective owners
Last modified: Wednesday, May 19, 2004