Java
To install the latest version of the Java Development Kit on your CentOS server follow these steps
Start here: http://java.sun.com/javase/downloads/index.jsp
Click “Get the JDK Download” and then select Linux as the OS.
Download the rpm.bin package for your architecture.
Below we’re assuming the x86, version 6 update 17 package so you might need to edit the commands slightly. Double check the architecture on the server by running ‘uname -i’.
$ chmod +x jdk-6u17-linux-i586-rpm.bin
$ ./jdk-6u17-linux-i586-rpm.bin
$ sudo rpm -Uvh jdk-6u17-linux-i586.rpm
$ java -version
java version "1.6.0_17"
