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:
- Verify that sun-java6-plugin is installed:
sudo apt-get install sun-java6-plugin - 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.
- You may have to do an updatedb first:
- Then, navigate to your mozilla plugins path:
cd /usr/lib/mozilla/plugins - Move somewhere else or completely delete libjavaplugin.so
- 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. - Restart Firefox
- 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.