Installation Instructions for OpenJDK on Fedora and EPEL.

OpenJDK 6 is included by default in Fedora 9. OpenJDK 7 bits are available in Fedora 8 as IcedTea 7. OpenJDK 6 is also being maintained in Fedora's Extra Packages for Enterprise Linux (EPEL) repository that is aimed at RHEL 5, CentOS 5, and other Enterprise Linux derivatives.

Installing OpenJDK 6 for Fedora:

For Fedora 9

  1. The OpenJDK 6 runtime is installed by default in any large media install, such as the Fedora 9 DVD.

  2. If installing from a live image, such as a live CD or USB flash drive, add the OpenJDK 6 runtime after install:

    The full development bundle package is java-1.6.0-openjdk-devel, or install all OpenJDK 6 packages with a wildcard, java-1.6.0-openjdk*.

For Fedora 8

  1. The OpenJDK 7 runtime is installed by default in any large media install, such as the Fedora 8 DVD, under the name IcedTea.

  2. If installing from a live image, such as a live CD or USB flash drive, add the IcedTea 7 runtime after install:

    The full development bundle package is java-1.7.0-icedtea-devel, or install all IcedTea 7 packages with a wildcard, java-1.7.0-icedtea*.

For EPEL 5

  1. The OpenJDK 6 runtime is now available for EPEL 5, which works with Red Hat Enterprise Linux 5, CentOS 5, and other RHEL 5 derivatives. First install the package that enables the EPEL repository:

    su -c "rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-2.noarch.rpm"
  2. Add the OpenJDK 6 runtime:

    The full development bundle package is java-1.6.0-openjdk-devel, or install all OpenJDK 6 packages with a wildcard, java-1.6.0-openjdk*.