So here's how to install Sun's Java Plugin for Firefox 3.6.x and above.
1. First, install Sun's JDK.
2. After installing the JDK successfully, try to locate the file libnpjp2.so , by using the locate command:
[rhythm@mybox ~]$ locate libnpjp2.so
/usr/java/jdk1.6.0_20/jre/lib/i386/libnpjp2.so
Take note of the result of the command, in this case, it's /usr/java/jdk1.6.0_20/jre/lib/i386/libnpjp2.so
3. Become root by executing the following command.
su4. Make a link to the libnpjp2.so file on the mozilla plugins folder using the following command, please replace the text "location of the libnpjp2.so file" with the result of the command executed on step 2.
ln -s "location of the libnpjp2.so file" /usr/lib/mozilla/plugins/libjavaplugin.so
In my case, since the result of the command on step 2 is /usr/java/jdk1.6.0_20/jre/lib/i386/libnpjp2.so , the command will be:
ln -s /usr/java/jdk1.6.0_20/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libjavaplugin.so
5. Restart Firefox.
There you have it, now, the java plugin should be available on the list of plugins when you access Tools -> Add-Ons -> Plugins. Enable it if it's still disabled, and you should be ready to go! Please comment if you encounter any problems with this. Thanks to wenlong for the info!
dont work for me!!
ReplyDeleteFirefox 3.6.7
fedora core 13
Works for me, thanks! :-)
ReplyDeleteBut if your main goal is just to get Java for Firefox, all you need is the JRE (20MB). There is no need to download the complete Java Development Kit which is 80MB.
The installation procedure is the same...
@ Ruthm cloud: Kindly i have redhat 6.0 for 64 bit machine and a toshiba satellite pro. I followed all ur instruction from a-z and everything seemed to be working because i didnt get a single error but when i restarted my pc, i still don't have internet and i typed system-config-network-tui but there's no device loaded there. I've been doing this for the past 2 months with no success
ReplyDelete@ Ruthm cloud: Kindly i have redhat 6.0 for 64 bit machine and a toshiba satellite pro. I followed all ur instruction from a-z and everything seemed to be working because i didnt get a single error but when i restarted my pc, i still don't have internet and i typed system-config-network-tui but there's no device loaded there. I've been doing this for the past 2 months with no success
ReplyDeleteAtheros AR8151 for linux.
ReplyDelete