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.
The OpenJDK 6 runtime is installed by default in any large media install, such as the Fedora 9 DVD.
If installing from a live image, such as a live CD or USB flash drive, add the OpenJDK 6 runtime after install:
To install with the graphical package manager, follow Applications > Add/Remove Software and use search to find the package(s) for install.
To install from the command line:
su -c "yum install java-1.6.0-openjdk"
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*
.
The OpenJDK 7 runtime is installed by default in any large media install, such as the Fedora 8 DVD, under the name IcedTea.
If installing from a live image, such as a live CD or USB flash drive, add the IcedTea 7 runtime after install:
To install with the graphical package manager, follow Applications > Add/Remove Software and use search to find the package(s) for install.
To install from the command line:
su -c "yum install java-1.7.0-icedtea"
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*
.
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"
Add the OpenJDK 6 runtime:
To install with the graphical package manager, follow Applications > Add/Remove Software and use search to find the package(s) for install.
To install from the command line:
su -c "yum install java-1.6.0-openjdk"
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*
.