I found that Google Chrome doesn't auto-detect Java applets in Linux. Following commands will link the Java applet plugin to Chrome. Enter these in Terminal. Make sure you put the correct path for the JRE in /usr/lib/jvm/<jdk1.6.0_22>/jre/lib/i386/libnpjp2.so.
sudo mkdir /opt/google/chrome/pluginsNow, link the plugin libnpjp2 to /opt/google/chrome/plugins directory by running the following. Double check whether the JRE path is correct.
cd /opt/google/chrome/plugins
sudo ln -s /usr/lib/jvm/jdk1.6.0_22/jre/lib/i386/libnpjp2.so
Like to know whether this solution works in other Linux distros as well. Let us know in the comments.
Finally I solve my google chrome browser problem.
ReplyDeleteNow I can run java applet on my chrome browser. This write up is in depth and informative.
Thanks man!
ReplyDeleteWorks great, thanks!
ReplyDeleteDoesn't work with Redhat 2.6.32-71.el6.x86_64 and jre1.6.0_31.
ReplyDeletei don't find libnpjp2 in this path (using java-6-open-jdk)
ReplyDeleteYes. This works with Linux-mint 14 for java 64 version as well. Then the i386 folder should be replaced by amd64.
ReplyDelete