What is Java Development Kit?
The Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. It includes the Java Runtime Environment (JRE), an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (javadoc) and other tools needed in Java development.
How to Update Java SE Development Kit on Linux
Download Java SE Development Kit 32bit :
Java SE Development Kit 32bit
chmod 755 jdk_version.bin
tar -xvf jdk_version.tar.gz
./jdk-6u27-linux-i586.bin
cp -rvdf jdk1_version /usr/local/
mkdir /usr/lib/firefox/plugins
cd /usr/lib/firefox/plugins/
ln -s /usr/local/jdk1_version/jre/lib/i386/libnpjp2.so
cd /usr/local/jdk_version/jre/lib/security/
java -version
yum -y remove java
ln -s /usr/local/jdk1_version/bin/ /usr/bin/
ln -s /usr/local/jdk1_version/bin/java /usr/bin/java
ln -s /usr/local/jdk1_version/bin/javac /usr/bin/javac
java -version
javac -version