Controleer of Java runtime engine (JRE) is geïnstalleerd:

# java -version
-bash: java: command not found

Download JRE
wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=33879

Hernoemen
mv jre* jre-install.bin

Rechten
chmod +x jre-install.bin

Installeren
./jre-install.bin

Controleren
# java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode)

Meer informatie: HowTos/JavaOnCentOS - CentOS Wiki

Zoeken