Red Hat Bugzilla – Bug 1022219
Oracle Java plugin version string not updated
Last modified: 2013-10-24 10:15:29 EDT
Created attachment 815138 [details]
Screen shot of about:plugins
Description of problem:
After updating the Oracle Java Plugin from 1.7.0_25 to 1.7.0_45 using the rpm package jre-7u45-linux-x64.rpm from Oracle:
# yum localupdate jre-7u45-linux-x64.rpm
The version string shown in about:plugins does not change although the path is the correct one to the new version. Image attached.
Also the version test from http://www.java.com/en/download/installed.jsp shows the correct version. Image attached.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Update the Oracle Java plugin with the rpm from Oracle.
Wrong version detected
Correct version detected
It makes it difficult to use a site that makes use of the plugin.
# java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
# alternatives --config libjavaplugin.so.x86_64
There are 3 programs which provide 'libjavaplugin.so.x86_64'.
*+ 1 /usr/java/latest/lib/amd64/libnpjp2.so
# diff -s /usr/java/latest/lib/amd64/libnpjp2.so /usr/java/jre1.7.0_45/lib/amd64/libnpjp2.so
Files /usr/java/latest/lib/amd64/libnpjp2.so and /usr/java/jre1.7.0_45/lib/amd64/libnpjp2.so are identical
Created attachment 815139 [details]
Screen shot of Oracle Java version test
Just tried Fedora 19 and it works as expected
The plugin description is get directly from the plugin. And we have the same Firefox version on all Fedoras. Plus the Oracle Java plugin is a closed-source software...so I don't believe it's a bug in Firefox.
Martin, It is not a belief or faith matter, like in open source vs the closed source infidels. It is about testing and reproducing. I tested in both 19 and 18. Did you test in any? Can you reproduce it? That would be enough to send me upstream.
Well, frankly I'm not going to install Oracle Java on my Fedora box. It's a closed source software with possible security holes. And Fedora does not ship it...so we don't even support it.
Anyway, the plugin claims its name/version via NPAPI calls (see http://gplflash.sourceforge.net/gplflash2_blog/npapi.html#SEC9) so it does not depend on Firefox. Firefox just shows what the plugin posts by NP_GetValue().
And when the same Firefox version shows different plugin responses, I don't expect it's a problem in Firefox itself.