Installing JRockit JDK
This section describes how to install BEA JRockit 5.0 as a standalone application. It includes information on the following subjects:
Be aware that BEA JRockit 5.0 JDK can be used by any application and does not interact with or create a BEA registry. Also note that the BEA WebLogic Platform is not certified with this version of BEA JRockit.
BEA JRockit 5.0 is certified by Sun Microsystems, Inc. to be compatible with Java 2 Standard Edition (J2SE), version 5.0.
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 BEA 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 procedures on installing the JRE only, please refer to Installing the BEA JRockit JRE.
For a complete list of supported platforms, please go to:
http://download.oracle.com/docs/cd/E13188_01/jrockit/docs50/certif.html
Installing BEA JRockit JDK describes how to install BEA JRockit JDK 5.0 Service Pack 2 with 1.5.0_03 class libraries. After step 1 in Installing the JDK, below, the JDK version will be referenced throughout this guide as 1.5.0_
<version>
; for example, instead of jrockit-jdk1.5.0_03
, you will see jrockit-jdk1.5.0_
<version>
. As you use this guide, please assume that <version> refers to 03.
This section explains how to install and uninstall a standalone version of BEA JRockit 5.0 JDK for Windows 2000, Windows 2003, and Windows Server 2003 EE and on the Red Hat Linux 32-bit and 64-bit platforms from a GUI.
Note: When installing on Linux, the default location for system prefs will be:
JAVAHOME/.systemPrefs, where JAVAHOME=<JDK_INSTALLDIR>/jre or <JRE_INSTALLDIR>
Alternatively, a root user may use the installer option -Djava.util.prefs.SystemRoot.location=system
, changing the location for system prefs to:
-Djava.util.prefs.SystemRoot.location=javahome
is the default if not specified.
Note: The following procedure assumes that you have already downloaded the appropriate version of BEA JRockit JDK for your operating system.
To install BEA JRockit JDK, do the following:
jrockit-jdk1.5.0_03-win-ia32.exe
for Windows 2000 and Windows 2003jrockit-jdk1.5.0_03-win-ipf.exe
for Windows 2003 Server EEjrockit-jdk1.5.0_03-linux-ia32.bin
for supported Linux 32-bit versionsjrockit-jdk1.5.0_03-linux-ipf.bin
for supported Linux 64-bit Itanium versionsjrockit-jre1.5.0_03-linux-x64.bin
for supported Linux 64-bit (Intel EM64T and compatible) versionsIf you are using a Linux terminal, type ./jrockit-jdk1.5.0_
<version>
-linux-ia32.bin
.
The install process begins and the BEA installer window appears, followed shortly thereafter by the Welcome window.
If installing on Windows 2000 or Windows 2003, the Install Public JRE window appears (Figure 1-2), prompting you to install or not install the public JRE (see Java Runtime Environment (JRE) for more information about the JRE).
Figure 1-2 Install Public JRE Window (only visible for Windows 2000 and 2003)
The Install Java Plug-in window appears (Figure 1-3).The Java Plug-in extends the functionality of a web browser. For more information on the Plug-in, please refer to Using the Java Plug-in.
Figure 1-3 Install Java Plugin Window
The install splash screen appears and the installation process continues, as indicated on the progress meter in the lower right corner of the window (Figure ).
Figure 1-4 Install Splash Screen with Progress Meter
When the installation is complete, the Installation Complete screen appears.
BEA JRockit JDK is now installed. To use JRockit, you need to add it to your path.
export PATH=<your_install_dir>/bin:$PATH
Replace <your_install_dir>
with the absolute path of the directory where you installed jrockit. The command could look like the following example:
export PATH=/home/user/jrockit-jdk1.5.0_
<version>
/bin:$PATH
set PATH=c:\Program Files\Java\jrockit-jdk1.5.0_
<version>
\bin;%PATH%
This section describes how to uninstall both Windows and Linux versions of BEA JRockit JDK
To uninstall BEA JRockit JDK, do the following:
This removes the JDK from your computer.
Run the following command from a console window:
%systemroot%\Installer\BEA\JRockit_JDK_1.5.0_
<version>
\uninstall.exe
To uninstall Linux versions of BEA JRockit, do the following:
This removes the JDK from your computer.
You can install JDK in console mode, rather than from a GUI. This section describes how to install BEA JRockit using console mode for both Windows and Linux operating systems.
To install Windows version of BEA JRockit in console mode, enter the command for the version you want to install at the command line; for example, to install theWin-ia32 version of the JDK, do the following:
jrockit-jdk1.5.0_
<version>
-win-ia32.exe -mode=console
The installation will commence with a new DOS window showing the extraction process. Once the extraction process is complete, the system will prompt you though the installation, replicating in text the option GUIs described in Installing and Uninstalling BEA JRockit JDK.
Note: If you don't specify -mode=console
at the command line, the installer will revert to GUI mode, as described in Installing and Uninstalling BEA JRockit JDK.
You cannot uninstall Windows versions of BEA JRockit 5.0 in the console mode. Instead, use the method described in Uninstalling Windows Versions.
To install BEA JRockit in console mode, do the following:
Note: If you install the JDK on Linux by using the .bin
file, you need to ensure the file is executable. You can use chmod +x <filename>
to make the file executable.
jrockit-jdk1.5.0_
<version>
-linux
xx
.bin
-mode=console
(where xx
is your machine type, either 32 or 64; the following example is for a 32-bit machine) and press Enter.
Extracting 0%....................................100%
Once the extraction process is complete, the system will prompt you though the installation, replicating in text the option GUIs described in Installing and Uninstalling BEA JRockit JDK.
You cannot uninstall Linux versions of BEA JRockit 5.0 in the console mode. Instead, use the method described in Uninstalling Linux Versions.
The silent installation mode lets you set installation configurations only once and then use those configurations to duplicate the installation on many machines. During installation in silent mode, the installation program reads installation options from an XML file that you create prior to beginning the installation (see The silent.xml File). The installation program does not display any configuration options during the installation process. For more information on silent mode, please refer to Installing WebLogic Server Using Silent-Mode Installation in the BEA WebLogic Server Installation Guide.
For a silent mode installation to be successful, you will need to create the file silent.xml
and store it on your computer. This file contains the values you want included in your set-up; for example, whether or not you want the Public JRE installed, and which browser(s) you want to associate with the Java Plugin. Listing 1-1 shows an example of a typical silent.xml file.
Listing 1-1 Typical silent.xml File
<?xml version="1.0" encoding="UTF-8" ?>
<domain-template-descriptor>
<input-fields>
<!-- Installation dir -->
<data-value name="USER_INSTALL_DIR" value="c:\Program Files\Java\jrockit-jdk1.5.0_03\bin
" />
<!--
Install Public JRE
This option is available in Win32 JDK installer
-->
<data-value name="INSTALL_PUBLIC_JRE" value="true" />
<!--
Install Java plugin for Internet Explorer (IE)
if Internet Explorer is installed on the system.
This option is available in Win32 JRE installer.
It also works in Win32 JDK installer, but the
INSTALL_PUBLIC_JRE option must be "true"
-->
<data-value name="REGISTER_PLUGIN_WITH_IE" value="true" />
<!--
Install Java plugin with Netscape and Mozilla web browsers
if Netscape and Mozilla are installed on the system.
This option is available in Win32 JRE installer.
It also works in Win32 JDK installer, but the
INSTALL_PUBLIC_JRE option must be "true"
-->
<data-value name="REGISTER_PLUGIN_WITH_NS_AND_MOZILLA" value="true" />
These procedures apply to supported Windows 32-bit and 64-bit platforms. See BEA JRockit JDK Platform Support for a list of supported Windows platforms.
To install the JDK in silent mode on Windows machines, enter at the command line (this procedure assumes that silent.xml
is stored in D:\Works\):
>jrockit-jdk1.5.0_
<version>
-win-ia32.exe -mode=silent -silent_xml="D:\Works\silent.xml"
>jrockit-jdk1.5.0_
<version>
-win-ipf.exe -mode=silent -silent_xml="D:\Works\silent.xml"
You will receive a message advising that files are being extracted and no other confirmation. If you want to confirm installation, click Start > Programs. If the installation is successful, you will see BEA JRockit 5.0 JDK on your Program menu. If you installed the JRE (that is, you specified <data-value name="INSTALL_PUBLIC_JRE" value="true" /> in the silent.xml
file, you will also see BEA JRockit 5.0 JRE on your program menu.
Note: If you want to create an install log, add the option -log=log.log
at the end of the command.
You cannot uninstall Windows versions of BEA JRockit 5.0 in silent mode. Instead, use the method described in Uninstalling Windows Versions.
Note: These procedures apply to supported Linux 32-bit and 64-bit platforms. See BEA JRockit JDK Platform Support for a list of supported Linux platforms.
To install the JDK in silent mode on Linux machines, enter at the command line (this procedure assumes that silent.xml
is stored in /localhome/works/
):
>jrockit-jdk1.5.0_
<version>
-linux-ia32.bin -mode=silent -silent_xml="/localhome/works/silent.xml"
>jrockit-jdk1.5.0_
<version>
-linux-ipf.bin -mode=silent -silent_xml="/localhome/works/.xml"
For Linux x64 (Intel EM64T and compatible):
jrockit-jre1.5.0_
<version>
-linux-x64.bin
-mode=silent -silent_xml="/localhome/works/.xml"
Note: You need to ensure the .bin
file is executable. You can use chmod +x <filename>
to make the file executable.
You will receive a message advising that files are being extracted and no other confirmation. You can confirm installation by looking at your file system and finding the product directory you specified for BEA JRockit 5.0.
Note: If you want to create a log of your installation, add the option -log=log.log
at the end of the command.
You cannot uninstall Linux versions of BEA JRockit 5.0 in silent mode. Instead, use the method described in Uninstalling Linux Versions.
The Linux version of BEA JRockit 5.0 JDK and BEA JRockit 5.0 JRE now ships with tools documentation on "man" (manual) pages. Most tools in <installdir>/bin
has a man page. English man pages are located in <installdir>/man1
and Japanese man pages are located in <installdir>/ja/man1.
If you have the BEA JRockit JDK as your default JDK, i.e. updated PATH
as in the following example:
export PATH=/home/user/jrockit-jdk1.5.0_
<version>
/bin:$PATH
then you simply enter the command man
followed by the tool name, for example:
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.