I want to add java plugin for FireFox (v10.0.12) on Linux(Centos 5.6 64bit).
I have JDK 1.7.0_12 installed, and add a symbolic link to plugin folder under /usr/lib/mozilla to the file libnpjp2.so under (JRE)/lib/amd64/
Followd this
http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html
But I still couldn’t find java plugin on my Firefox Add-ons Manager.
What might be the problem ?
Do you want the JDK or the JRE? Anyways, I had this problem too, a few weeks ago. I followed the instructions here and it worked:
http://www.backtrack-linux.org/wiki/index.php/Java_Install
NOTE: Before installing Java make sure you kill Firefox.
root@bt:~#
killall -9 /opt/firefox/firefox-binYou can download java from the official website. (Download tar.gz version)
We first create the directory and place java there:
root@bt:~#
mkdir /opt/javaroot@bt:~#
mv -f jre1.7.0_05/ /opt/java/Final changes.
root@bt:~#
update-alternatives --install /usr/bin/java java /opt/java/jre1.7.0_05/bin/java 1root@bt:~#
update-alternatives --set java /opt/java/jre1.7.0_05/bin/javaroot@bt:~#
export JAVA_HOME="/opt/java/jre1.7.0_05"Adding the plugin to Firefox.
For Java 7 (32 bit)
root@bt:~#
ln -sf $JAVA_HOME/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/For Java 8 (64 bit)
root@bt:~#
ln -sf $JAVA_HOME/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/Testing the plugin.
root@bt:~#
firefox http://java.com/en/download/testjava.jsp