Installation and Migration Guide

 Previous Next Contents View as PDF  

Installation

This chapter documents how to install WebLogic JRockit 7.0 SDK as a standalone product. It includes information on the following subjects:

 


Supported Platforms

For a complete list of supported platforms, please see Hardware and Operating System Requirements in the BEA WebLogic JRockit 7.0 SDK User Guide.

 


Installing on Windows 2000

This section explains how to install WebLogic JRockit 7.0 SDK for Windows 2000:

  1. Double-click on the WebLogic JRockit 7.0 SDK installation program, and follow the directions on the screen.

  2. Add the WebLogic JRockit bin directory to the path environment variable or use the full path to the java.exe executable.

To uninstall WebLogic JRockit 7.0 SDK, use the Add/Remove Programs option in the control panel. If you added WebLogic JRockit 7.0 SDK to your path, remember to remove it again.

 


Installing on Red Hat Linux AS

For Red Hat Linux AS the only supported versions of kernel, glibc and pthreads are the ones that ship as the defaults with RH AS 2.1. This section describes the installation procedures for WebLogic JRockit 7.0 SDK for Red Hat Linux using the RPM package (recommended).

  1. If you do not have root access already, become root by running the su command and entering the super-user password.

  2. Run the rpm command to install the packages:
    rpm -ivh  jrockit-j2se1.3.1-7.0.5-1.i686.rpm

    This will install WebLogic JRockit 7.0 SDK to the directory /opt/bea.

    Note: While /opt/bea remains the default directory for WebLogic JRockit 7.0 SDK, you can relocate it if you want to use the extra RPM installer options to override it at installation, as described in Overriding the Default Installation Path with RPM.

  3. Exit the root shell.

Note: These instructions also work for the RPM downloadable from BEA which has the generic name jrockit<version>.rpm.

Overriding the Default Installation Path with RPM

You can relocate WebLogic JRockit RPMs from the default directory (/opt/bea/jrockit70sp5_131_10; Listing  1) to a directory you specify. If you want to override the default installation path for WebLogic JRockit 7.0 SP5 (/opt/bea/jrockit70sp5_131_10), you must add the arguments --prefix /mydir1/mydir2 as shown in Listing  2 (these examples show the Linux 32-bit version of the install files for WebLogic JRockit 7.0 SP5).

Listing 1 Example of Default Install

$ rpm -ivh jrockit-j2se1.3.1-7.0.5-1.i686.rpm
  ...
$ /opt/bea/jrockit70sp5_131_10/bin/java -version
  ...

Listing 2 Example of Relocated Install

$ rpm -ivh --prefix /mydir1/mydir2 jrockit-j2se1.3.1-7.0.5-1.i686.rpm
...
$ /mydir1/mydir2/bin/java -version
  ...             

For example, to install in the directory /usr/jrockit/7.0/1.3.1, just add --prefix /usr/jrockit/7.0/1.3.1.

Installation Using the .tar file

  1. Change directory to the one in which you want to install WebLogic JRockit 7.0 SDK.

  2. Uncompress the file entering the command:
    tar -zxvf jrockit<version>.tar.gz

 


Special Note About Root Access

If you choose to install the WebLogic JRockit 7.0 JVM into a system-wide location such as /usr/local, you must first become the root in order to gain the necessary permissions. If you do not have root access, simply install the WebLogic JRockit 7.0 JVM Java 2 Runtime Environment into your home directory, or a subdirectory that you have permission to write to.

 

Back to Top Previous Next