download the latest from java website :
http://download.oracle.com/auth/otn-pub/java/jdk/6u27-b07/jdk-6u27-linux-x64-rpm.bin?e=1313557110&h=84d2a6dfdee93e926d179d506fafa3e3

 sh jdk-6u27-linux-x64-rpm.bin

ln -s /usr/java/jdk1.6.0_27/jre/lib/amd64/libnpjp2.so /usr/lib64/mozilla/plugins/libnpjp2.so

test by :

about:plugins