Public bug reported: After installing sun-java5-plugin, Firefox did not detect the Sun java plugin.
On my system I had previously installed Java using a package that modified the equivalents. In particular, the old java package I had used set the following equivalents: /etc/alternatives/firefox-javaplugin.so -> /usr/lib/j2sdk1.5-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/mozilla-javaplugin.so -> /usr/lib/j2sdk1.5-sun/jre/plugin/i386/ns7/libjavaplugin_oji.so /etc/alternatives/netscape-javaplugin.so -> /usr/lib/j2sdk1.5-sun/jre/plugin/i386/ns4/libjavaplugin.so Unfortunately, upon uninstallation, it did not clean up these equivalents. They were left as "bad" symlinks. When I installed the sun-java5-plugin package, it did not update the equivalents. In particular, it left firefox-javaplugin.so and mozilla- javaplugin.so alone. As a result, even running "sudo update-alternatives --config firefox- javaplugin.so", for example did not do anything, since there was no equivalent installed. I am guessing that sun-java5-plugin didn't install its equivalent either because an equivalent was already there, or because the existing equivalent was effectively a dead symlink (usr/lib/j2sdk1.5 no longer exists). The fix was for me to manually remove the equivalents that were causing the problem and then reinstall sun-java5-plugin: apt-get remove sun-java5-plugin update-alternatives --remove-all firefox-javaplugin.so update-alternatives --remove-all mozilla-javaplugin.so update-alternatives --remove-all netscape-javaplugin.so apt-get install sun-java5-plugin I feel that sun-java5-plugin should have added its equivalents instead of bombing out and set them to be default. ** Affects: sun-java5 (Ubuntu) Importance: Undecided Status: Unconfirmed -- sun-java5-plugin does not set up equivalents https://launchpad.net/bugs/70057 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs