Stream of Ry

Yet Another Geek In The World

Archive for the ‘sun microsystems’ tag

Java and Firefox 3.6 Namoroka #FirefoxFriday #MozillaPH

2 comments

For those who’ve upgraded to Firefox 3.6 (Namoroka) in Linux and could not seem to find Java support, you can do the following to fix it up:

  1. Verify that sun-java6-plugin is installed: sudo apt-get install sun-java6-plugin
  2. Once verified/installed, look for libnpjp2.so: locate libnpjp2.so
    • You may have to do an updatedb first: sudo updatedb
    • Mine returns /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnpjp2.so
    • Take note of this path.
  3. Then, navigate to your mozilla plugins path:cd /usr/lib/mozilla/plugins
  4. Move somewhere else or completely delete libjavaplugin.so
  5. Make a symbolic link of the libnpjp2.so you find earlier to the current folder: sudo ln -s /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnpjp2.so . Take note of the dot at the end.
  6. Restart Firefox
  7. Test it over at the Java website

My references were the following site: Mozilla Forums and Java Webnotes

From now on, I’ll try posting Firefox related posts every Friday. :) This was an idea brought up at the Mozilla Philippines Community 2010 Kick-off meeting. :)

Written by rystraum

January 28th, 2010 at 6:46 pm