Este conteúdo não está disponível no idioma selecionado.
C.3. Sun JDK on Red Hat Enterprise Linux AS/ES 4
Use this procedure to install the Sun Microsystems Java Development Kit on Red Hat Enterprise Linux AS or ES 4.
Important
The following commands must be run as
root.
Procedure C.3. Installing the Sun Microsystems JDK on Red Hat Enterprise Linux AS/ES 4
Subscribe to the
Extraschannel.The Sun Microsystems Java Development Kit is available in theRed Hat Extraschannel. Ensure that the machine is subscribed to this channel in order to install this package.Install using the
up2datecommand.Run this command to install the package:up2date java-1.6.0-sun-devel
up2date java-1.6.0-sun-develCopy to Clipboard Copied! Toggle word wrap Toggle overflow Set OpenJDK to the system's default Java Development Kit.
To ensure that the intended JDK is set as the system default, run thealternativescommand as described in Section C.4, “ Setting the default JDK with the/usr/sbin/alternativesUtility ”