Installing WebLogic JRockit 8.1 SDK
WebLogic JRockit 8.1 SDK is available as either a standalone application or as part of the BEA WebLogic Platform suite. This section describes how to install WebLogic JRockit 8.1 as a standalone application. It includes information on the following subjects:
For instructions on installing WebLogic JRockit 8.1 as part of the WebLogic Platform suite, please refer to "Installing WebLogic Platform."
BEA WebLogic JRockit 8.1 is certified by Sun Microsystems, Inc. to be compatible with Java 2 Standard Edition (J2SE), versions 1.4.1.
The JRE class files that are distributed with JRockit come directly from Sun except for a small number, which are tightly coupled to the JVM and are therefore overridden in JRockit. The class files that are overridden are in the java.lang
, java.io
, java.net
and java.util
packages. There are no omitted classes.
For a complete list of supported platforms, please go to:
http://download.oracle.com/docs/cd/E13188_01/jrockit/docs81/certif.html
Note: 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 explains how to install a standalone version of BEA WebLogic JRockit SDK for Windows 2000 and Windows Server 2003 EE and on the Red Hat Linux 32-bit and 64-bit platforms. The following procedure assumes that you have already downloaded the appropriate version of WebLogic JRockit SDK for your operating system.
jrockit-8.1-j2se1.4.1-win32.exe
for Windows 2000.jrockit-8.1-j2se1.4.1-win64.exe
for Windows 2003 Server EEjrockit-8.1-j2se1.4.1-linux32.exe
for supported Linux 32-bit versionsjrockit-8.1-j2se1.4.1-linux64.exe
for supported Linux 64-bit versionsThe install procedure begins, with the BEA Installer splash screen appearing. After a brief pause, the WebLogic JRockit SDK splash screen appears, followed a few seconds later by the Welcome screen.
Note: If you don't select Yes, you cannot proceed with the installation.
WebLogic JRockit SDK is now installed.
To uninstall WebLogic JRockit SDK, do the following:
You have successfully removed WebLogic JRockit SDK from your computer.
The console mode allows you to install and uninstall Linux versions of WebLogic JRockit SDK without using a GUI.
To install WebLogic JRockit in the console mode, do the following:
Note: If at any time during the installation, you want to change data you previously entered, type "Previous". You can abort the installation at any time by typing "Exit".
Input new BEA Home Directory OR [Exit][Previous][Next]>
prompt, type a directory name (if this is a new directory, it will be created automatically).
Installing files..
and displays a progress meter:
0% 25% 50% 75% 100%
[------------|------------|------------|------------]
[***************************************************]
When the installation is complete, the system responds:
Congratulations! WebLogic JRockit 8.1 (32bit)
has been successfully installed to /file_path
/.
(where /
file_path
/
is the directory specified in step 5. in
Press any key to continue OR [Exit][Next]>
The console mode installation of WebLogic JRockit SDK is complete.
To uninstall WebLogic JRockit in the console mode, do the following:
Note: If at any time during the installation, you want to change data you previously entered, type "Previous". You can abort the installation at any time by typing "Exit".
The system responds with a list of BEA products you can uninstall; for example:
|_____jrockit81_141 (32bit) [0] x
Note: If only one product is displayed, you only need to press Enter to proceed.
The system responds by prompting you to either select the component selection or return to the component list; for example:
->1|Yes, use these component selections
2|No, return to component selection
The uninstallation process begins. As the process continues, it will display progress information by identifying the components being removed; for example:
Setting Up
Removing SDKs
Removing BEA Registry Entries
When all files have been removed and WebLogic JRockit SDK is successfully uninstalled, the system responds:
Uninstall Completed Successfully!
Uninstallation Complete
Uninstallation of selected components has completed successfully.
This section describes the installation procedures for WebLogic JRockit SDK for Red Hat Linux using the RPM package (recommended).
su
command and entering the super-user password.rpm -ivh jrockit-j2se1.
4.1-8.1-1
.i686.rpm
This will install WebLogic JRockit SDK to the directory /opt/bea.
Note: While /
opt/bea remains the default directory for WebLogic JRockit 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.
While the BEA download site only distributes WebLogic JRockit packages using the BEA installer, if you are subscribed to Red Hat Network, you can obtain WebLogic JRockit binaries in RPM format from the Red Hat Enterprise Linux AS channel. The Red Hat files you can download are:
If you do obtain the WebLogic JRockit RPMs, you can relocate them from the default directory (/opt/bea/jrockit81_141
; Listing 1) to a directory you specify. If you want to override the default installation path for WebLogic JRockit 8.1 (/opt/bea/jrockit81_141
), 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).
Listing 1 Example of Default Install
$ rpm -ivh jrockit-j2se1.4.1-8.1-1.i686.rpm
...
$ /opt/bea/jrockit81_141/bin/java -version
...
Listing 2 Example of Relocated Install
$ rpm -ivh --prefix /mydir1/mydir2 jrockit-j2se1.4.1-8.1-1.i686.rpm
...
$ /mydir1/mydir2/bin/java -version
...
For example, to install in the directory /usr/jrockit/8.1/1.4.1
, just add --prefix /usr/jrockit/8.1/1.4.1
.
The RPM package also allows you to uninstall WebLogic JRockit:
If you are upgrading from WebLogic JRockit 8.0 to version 8.1, you can automatically uninstall version 8.0 after installing version 8.1 by replacing the option -ivh
in the above example with -Uvh
, as shown here:
$ rpm -Uvh --prefix /mydir1/mydir2 jrockit-j2se1.4.1-8.1-1.i686.rpm
...
Note: Older versions of WebLogic JRockit, for example, WebLogic JRockit 7.0.x must be manually uninstalled after installing version 8.1
To uninstall the current version of WebLogic JRockit by using RPM, enter the following command:
$ rpm -e jrockit-j2se1.4.1-8.1-1
Assuming the installation directory was /mydir1/mydir2
this will remove the directory /mydir1/mydir2
and everything below it; that is, equal to rm -rf /mydir1/mydir2
.
If you have relocated the installation directory to, for example, /usr/jrockit/8.1/1.4.1
, and uninstalled WebLogic JRockit, the directories /usr/jrockit/8.1
will remain and you might need to remove them manually.
The WebLogic JRockit 8.1 JVM is a component of Java Runtime Environment included in the WebLogic JRockit 8.1 SDK. In instances where you want to exploit the full power of the JVM without dealing with the overhead of the entire SDK, you can extract the JRE from the SDK and run it separately. If you choose to install WebLogic JRockit 8.1 JVM in this manner, you will have the JVM but no access to its other developer tools in the complete SDKs (for information on the contents of the WebLogic JRockit 8.1 SDK, please refer to What's in the WebLogic JRockit 8.1 SDK?). Additionally, if you want to use the Management Console, you will need to attach it to a JRockit session running within the JRE.
To extract the JRE from the SDK, do the following:
<jrockit-install-directory>
and paste at the necessary file level (for example, the root level).To start the JVM, at the command line enter on of the following:
java
Include any tuning or configuration options you want to use. These options are described in Tuning WebLogic JRockit.
If you choose to install the JRockit Java 2 Runtime Environment 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 JRockit Java 2 Runtime Environment into your home directory or a subdirectory to which you have permission to write.