3.1. Installing the JRE

3.1. Installing the JRE

Necessary Java JRE libraries are not bundled with Directory Server. They must be downloaded and extracted separately before installing the Directory Server packages.

NOTE

Directory Server 8.0 requires JRE version 1.5.0.

Any Red Hat Enterprise Linux customer can download the required JRE packages from the RHEL Extras or Supplemental channel in Red Hat Network, and then use native Red Hat tools to install the package. For example, to install the JRE on Red Hat Enterprise Linux 4, use the up2date command:

up2date java-1.5.0-ibm

On Red Hat Enterprise Linux 5, use the yum command:

yum install java-1.5.0-ibm

Using yum or up2date is the preferred and recommended way to install Java. However, it is also possible to download the JRE from the Java site.

  1. Download the Java libraries from http://www.java.com.

  2. Log in as root, and install the JRE. For example:

    rpm -Uvh java-1.5.0-ibm-1.5.0.5-1jpp.2.el4.i386.rpm
    

After installing the JRE, install the Directory Server packages, as described in Section 3.2, “Installing the Directory Server Packages”.


Note: This documentation is provided {and copyrighted} by Red Hat®, Inc. and is released via the Open Publication License. The copyright holder has added the further requirement that Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder. The CentOS project redistributes these original works (in their unmodified form) as a reference for CentOS-5 because CentOS-5 is built from publicly available, open source SRPMS. The documentation is unmodified to be compliant with upstream distribution policy. Neither CentOS-5 nor the CentOS Project are in any way affiliated with or sponsored by Red Hat®, Inc.