Thursday, April 22, 2010

Enable java in Firefox 3.0 on Ubuntu 9.04

I assume you have install the JVM or SDK already. If not, see this document for reference. Maybe you also need to use the update-alternatives tool to choose the latest version as the default. Then what you need to do is to ln the plugin in the mozilla plugins directory. Creating a link in the firefox plugins directory in your system won't work. You might use the following commands to locate the plugin and create the link.
sudo ln -s {the latest java}/jre/plugin/i386/ns7/ /usr/lib/mozilla/plugins/
Restart your firefox and you should be able to see java in the Add-ons list.