I have just successfuly installed the latest Oracle Java package in a fresh Centos 6.2 amd64 system:
- Downloaded the latest rpm from the oracle website
- chmod +x jre-6u30-linux-x64-rpm.bin
- ./jre-6u30-linux-x64-rpm.bin
- update-alternatives --install /usr/bin/java java /usr/java/latest/bin/java 1
- update-alternatives --config java
- selected the oracle java thing
- update-alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/latest/lib/amd64/libnpjp2.so 1
- update-alternatives --config libjavaplugin.so.x86_64
- select the oracle java thing