I have installed Oracle Java 7 JRE under Ubuntu 12.04, and I am trying to get firefox (v. 22) to recognize it as a plugin. I've carefully followed these instructions:
All goes well; typing "java -version" at the command line turns up the correct (newly installed) JRE. In addition to the above instructions, I've also added sim links to the new libnpjp2.so in various places that firefox might be looking for plugins, beyond ~/.mozilla/plugins/.
However, firefox refuses to see it as a plugin. Typing "about:plugins" in the URL bar lists a bunch of plugins, but Oracle Java 7 JRE is not among them. When I look at my pluginreg.dat file, the full path to the new shared object, which is
is shown at the bottom of the file, in the [INVALID] block.
I even tried running the elaborate script given here
as an alternative method to install Java 7 and get firefox to see it as a plugin, but I got the same result.
Interestingly, I have another Ubuntu box, that one running 10.04 with firefox v. 20 instead of v. 22, and the first method I mentioned goes without a hitch (with firefox seeing the plugin).
The Oracle Java install seems to be going fine. It's getting firefox v. 22 to recognize the plugin that is not working. Any suggestions or help would be warmly received.