COMPAQ

Readme
The Java 2 Runtime Environment,
Standard Edition (JRE), v 1.2.2-12
for Compaq® Tru64 UNIX®


Contents

Introduction

Thank you for downloading the Java 2 Runtime Environment, Standard Edition (also known as the Java 2 Runtime or JRE) v 1.2.2-12 for Compaq® Tru64 UNIX®. The JRE is the minimum standard Java Platform for running Java programs. It contains the Virtual Machine for Java 2™, Java core classes, and supporting files. The JRE does not contain any of the development tools (such as appletviewer or javac) or classes that pertain only to a development environment.

This Readme provides installation instructions for the JRE and information that may be useful for developers who want to redistribute the JRE with their software.

IMPORTANT: Please make sure you understand the Copyright (copyright.txt, installed file) and License (license.txt, installed file) information before using this release.

Installation

Presently, this JRE v 1.2.2-12 release does not require any operating system patches. However, the need for patches may be discovered after this release becomes available. Therefore, we recommend that you check our patch installation page for Compaq® Tru64™ UNIX® for the latest information.

The following steps must be done as superuser. Untar the binary kit in a scratch directory, then use the setld command to load from that directory. This example uses /tmp/java as the scratch directory, and assumes the tar file is in /tmp:

   cd /tmp/java 
   tar xf /tmp/javajre122-12.tar 
   setld -l /tmp/java

There are two subsets in this kit:

Using the Java 2 Runtime Environment

In this release, a single Java application launcher, the java command-line tool, is used both for development (the Java 2 SDK) and deployment (the Java 2 Runtime Environment).

The old deployment launcher, jre is no longer provided.

Redistribution of the JRE

If you redistribute the JRE, you must follow the terms of the JRE Binary Code License agreement, which includes these terms:

Bundling the Java 2 Runtime Environment

This release of the JRE for Tru64 UNIX is packaged as two setld subsets, which makes it suitable for downloading by end users. Java application developers have the option of not bundling the JRE with their software. Instead, they can direct end users to download and install the JRE themselves.

When bundling the JRE with application software on Tru64 UNIX, the following points should be considered:

  1. It is suggested that you include the Java 2 Runtime Environment files under a common directory (<runtime-dir>). Include all the required files from /usr/opt/jre122/bin and /usr/opt/jre122/lib in the bin and lib subdirectories of <runtime-dir>, following the same directory hierarchy and relative placement of files. The internationalization files installed by the optional subset can be included for language localization support.
     
  2. It is suggested that all application-specific classes be placed in a directory other than <runtime-dir>. Application-specific classes can be individual .class files, .jar files, or .zip files.
     
  3. If native code support is required, then the native library must be located in LD_LIBRARY_PATH. The best way to do this is to install the native libraries in <app-dir>/lib/<sys>. LD_LIBRARY_PATH should then be set to include these directories.
     
  4. The application can be invoked by using the java command-line tool with the -cp option to specify the application's class path. In the standard installation, for example, the command might look like this:
       /usr/opt/jre122/bin/java -cp <app-dir>/lib/app.jar <classname> 
    

Copyright 2001 Compaq Computer Corporation.
Compaq Registered in U.S. Patent and Trademark Office.
Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
All other product names mentioned herein may be trademarks or registered trademarks of their respective companies.
Compaq shall not be liable for technical or editorial errors or omissions contained herein. The information in this document is subject to change without notice.