About HPC Systems Software User Guides Education Partners

  / gears / hpc / education / tutorials / java


Introduction

Definition

Examples

Installation

Applets

Example 01

Example 02

Example 03

Example 04

Example 05

Example 06

Object Oriented Programming

Java Security

References

Notes on Installing Java 2 (JDK1.2)


The Java 2 PLatform (previously known as JDK1.2) was announced 8 Dec 98 by Sun Microsystems. Here is an applet that describes Java's structure.

Here are a few tips on installing Java 2 (JDK1.2) on your system:

  1. When you go to download Java 2 you are actually downloading JDK1.2
  2. JDK1.2 has some major differences with 1.0 and 1.1 releases. Please note that you are no longer required to set the CLASSPATH environment variables in order for your java or appletviewer executables to find extension libraries. With Java 2, Sun has finally created a standard extension directory. This directory is located at /jre/lib/ext/ within your JDK installation directory. For instance, on my system, Java 1.2 is installed at: C:\jdk1.2\ and the standard extension directory is at: C:\jdk1.2\jre\lib\ext\
  3. All extension libraries should place their jar archives into this extensions directory at install-time, and all standard JDK tools know to search here for needed class files.
  4. Please note that you also need to place the jar archives where the java compiler can find them if you wish to compile java source files with extension librarys. On my system this would be in C:\jdk1.2\lib\ext\
  5. The JDK1.2 installation program creates a directory called JavaSoft\jre\bin in your C:\programfiles directory if you respond yes to the prompt. This includes the Java 1.2 Plugin for your browser.
  6. Please note that your C:\jdk1.2\bin directory must be in your system path.
  7. Local files will be found without need of any classpaths.
  8. You can download the Java 1.2 plugin which is included in the Java 1.2 installation.

Here is the basic procedure for installing Java 2 (JDK1.2).

  1. Download the software from http://java.sun.com/products/jdk/1.2
  2. The JDK1.2 installation instructions from Sun are available online.
  3. Download Java3D if you wish to extend your Java Platform with 3D graphics.
  4. Note the installation instructiond above for adding jar files to your Java Platform.


Please send questions or suggestions about this web page to beatnic@aset.psu.edu

ASET | ITS | Penn State