rpm -qa | grep jdk
rpm -qa | grep gcj
yum -y remove java-1.4.2-jcj-compat
vim /etc/profile
export JAVA_HOME=/usr/java/default
export ANT_HOME=/usr/local/ant
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:${ANT_HOME}/lib
export PATH=${ANT_HOME}/bin:$JAVA_HOME/lib:$JAVA_HOME/jre/bin:$PATH:$HOME/bin:$PATH
export JAVA_TOOLS=$JAVA_HOME/lib/tools.jar
export PATH
tar ant*.tar.bz2 /usr/local/ant
chmod +x
jdk-6u32-linux-x64-rpm.bin
./
jdk-6u32-linux-x64-rpm.bin