COMPAQ

Readme
The JavaTM 2 Runtime Environment,
Standard Edition (JRE), v 1.3.1-1
for Linux® Alpha


Contents

Introduction

Thank you for downloading the JavaTM 2 Runtime Environment, Standard Edition (also known as the Java 2 Runtime or JRE) v 1.3.1-1 for Linux® Alpha. 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

Hardware and Software Requirements

Please refer to the Hardware and Software Requirements of the Java 2 SDK version 1.3.1-1 Release Notes for Linux Alpha.

Steps for Installing the JRE v 1.3.1-1 for Linux Alpha

To install, perform the following steps as superuser:

  1. Download the following binary kit as a compressed tar file:
       jre-1.3.1-1-linux-alpha.tgz 
    
  2. Untar it into a scratch directory:
       tar xzvf jre-1.3.1-1-linux-alpha.tgz
    

    The scratch directory now contains the kit jre-1.3.1-1-linux-alpha.rpm.

  3. Install libots, libcpml, and Motif, if they are not already installed on your system. (See Software Requirements.)

  4. Install the JRE Package.

    After installing libots, cpml, and Motif, you can then install the Java JRE v 1.3.1-1 package on your Linux Alpha system. When you install the Java JRE RPM package, all files are installed in directories under the directory /usr/java/jre1.3.1.

    Run the following rpm command, as superuser, to install the package:

      rpm -i jre-1.3.1-1-linux-alpha.rpm
    
  5. After you have installed the J2SDK v 1.3.1-1 package, running the command "/usr/java/jre1.3.1/bin/java -version" should display the following version information:
       % /usr/java/jre1.3.1/bin/java -version
       java version "1.3.1"
       Java(TM) 2 Runtime Environment, Standard Edition
       Classic VM (build 1.3.1-1, native threads, jit)
    

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 JavaTM 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:

lib/i18n.jar Character conversion classes and all other locale support
lib/ext/ Directory containing extension jar files
lib/audio/soundbank.gm MIDI soundbank
lib/cmm/PYCC.pf Color-management profile
lib/fonts/ Directory containing .ttf font files
bin/rmid Java RMI Activation System Daemon
bin/rmiregistry Java Remote Object Registry
bin/tnameserv Java IDL Name Server
bin/keytool Key and Certificate Management Tool
bin/policytool Policy File Creation and Management Tool

 

Bundling the Java 2 Runtime Environment

When bundling the JRE with application software on Linux Alpha, consider the following points:

  1. It is suggested that you include the JavaTM 2 Runtime Environment files under a common directory (<runtime-dir>). Include all the required files from /usr/java/jre1.3.1/bin and /usr/java/jre1.3.1/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/java/jre1.3.1/bin/java -cp <app-dir>/lib/app.jar <classname>

© 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.
Linux is a registered trademark of Linus Torvalds.
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.