After we successfully installed Oracle Java 7 update 17 on Pear Linux 7, we can now try to enable Java support for Mozilla Firefox and Google Chrome browser. Its pretty easy to enable Java plugins on Firefox. Make sure Java is correctly installed before you continue to this step. Please read our previous post because this tutorial is related to that post.
Check if Java installed on system. Open Terminal and paste this command
java -version
It should display Java version installed on your computer
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
cd /home/dhanicd .mozillamkdir pluginsln -s /usr/java/jre1.7.0_17/lib/amd64/libnpjp2.so
Now open Firefox and type about:plugins. You should see Java listed on that page.