It is always good from a security point of view to have all your systems up and running in the most current state. Go to this particular URL
https://browsercheck.qualys.com/
Scan your browser by clicking on the check box. There Qualys will tell you if there is any upgrade which is available.
Next go to this website
http://www.java.com/en/download/linux_manual.jsp?locale=en
Linux (self-extracting file) filesize: 20.7 MB - for 32 bit systems
Linux x64 * filesize: 20.3 MB - for 64 bit systems
Next move become root on a terminal by executing
http://java.com/en/download/installed.jsp?jre_version=1.6.0_30&vendor=Sun+Microsystems+Inc.&os=Linux&os_version=2.6.32-36-generic
If you have Newer version of firefox via ppa then one more step.
#ln -s /usr/lib/jvm/java-6-sun/lib/amd64/libnpjp2.so /usr/lib/firefox-10.0.1/plugins/libjavaplugin.so
https://browsercheck.qualys.com/
Scan your browser by clicking on the check box. There Qualys will tell you if there is any upgrade which is available.
Next go to this website
http://www.java.com/en/download/linux_manual.jsp?locale=en
Linux (self-extracting file) filesize: 20.7 MB - for 32 bit systems
Linux x64 * filesize: 20.3 MB - for 64 bit systems
Next move become root on a terminal by executing
$sudo su
Copy the binary over to the destination shown below
#cp /home/bala/Downloads/jre-6u30-linux-x64.bin /usr/lib/jvm/
#cd /usr/lib/jvm
Now make that file as executable
#chmod +x jre-6u30-linux-x64.bin
Now run that executable
#./jre-6u30-linux-x64.bin
Move the old soft link file which pointed to the old java
#mv java-6-sun java-6-sun_old
Remove the bin file.
#rm jre-6u30-linux-x64.bin
Rename the extracted file.
#mv jre1.6.0_30/ java-6-sun-1.6.0.30
Create a new link to your extracted Java
#ln -s java-6-sun-1.6.0.30 java-6-sun
Now rename the old java plugin.
#mv /etc/alternatives/mozilla-javaplugin.so /etc/alternatives/mozilla-javaplugin.so_old
Now create a new soft link to you new java
#ln -s /usr/lib/jvm/java-6-sun/lib/amd64/libnpjp2.so /etc/alternatives/mozilla-javaplugin.so
# ll /usr/lib/mozilla/plugins/libjavaplugin.so
lrwxrwxrwx 1 root root 39 2010-09-19 09:11 /usr/lib/mozilla/plugins/libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so*
# ll /etc/alternatives/mozilla-javaplugin.so
lrwxrwxrwx 1 root root 45 2011-12-19 20:42 /etc/alternatives/mozilla-javaplugin.so -> /usr/lib/jvm/java-6-sun/lib/amd64/libnpjp2.so*
# ll /usr/lib/mozilla/plugins/libjavaplugin.so
lrwxrwxrwx 1 root root 39 2010-09-19 09:11 libjavaplugin.so -> /etc/alternatives/mozilla-javaplugin.so*
http://java.com/en/download/installed.jsp?jre_version=1.6.0_30&vendor=Sun+Microsystems+Inc.&os=Linux&os_version=2.6.32-36-generic
If you have Newer version of firefox via ppa then one more step.
#ln -s /usr/lib/jvm/java-6-sun/lib/amd64/libnpjp2.so /usr/lib/firefox-10.0.1/plugins/libjavaplugin.so