Sun Java JDK with Firefox

In a previous post Sun Java on Ubuntu, I wrote about how to install the latest Sun JDK on Ubuntu. Since it's already on your system, you'll want to use this for your Firefox browser as well. To enable this, just run the following line:

ln -s /opt/java/jdk1.6.0_16/jre/plugin/i386/ns7/libjavaplugin_oji.so /home/dodgie/.mozilla/plugins/