Red Hat Bugzilla – Bug 567228
No java plugin in firefox
Last modified: 2010-03-23 19:27:41 EDT
Description of problem:
The java plugin filename changed but alternative rules were not updated ; as a result it is no longer registered in firefox
$ ls -l /usr/lib64/mozilla/plugins/libjavaplugin.so
lrwxrwxrwx. 1 root root 41 19 févr. 10:49 /usr/lib64/mozilla/plugins/libjavaplugin.so -> /etc/alternatives/libjavaplugin.so.x86_64
$ ls -l /etc/alternatives/libjavaplugin.so.x86_64
lrwxrwxrwx. 1 root root 64 19 févr. 10:49 /etc/alternatives/libjavaplugin.so.x86_64 -> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so
$ rpm -ql java-1.6.0-openjdk-plugin
Confirmed here. It seems the spec file had the new name of the file added to the list that alternatives uses, but that's not enough: as long as the old name is still listed, alternatives will continue to use it, even if the file doesn't exist:
[root@adam F-13]# update-alternatives --display libjavaplugin.so.x86_64
libjavaplugin.so.x86_64 - status is auto.
link currently points to /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so - priority 16000
/usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaNPPlugin.so - priority 16000
Current `best' version is /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so.
either the old name should be removed in %post, or the new name should be given a higher priority, I guess.
Fedora Bugzappers volunteer triage team
workaround is 'update-alternatives --config libjavaplugin.so.x86_64' (or .i586 or something on 32-bit, I guess) and then pick the appropriate option (should be 2).
Hmm, odd. The IcedTeaPlugin.so alternative should have gotten removed during upgrade.
Re-assigning to Fedora RPM owner.
deepak: I only glanced at the spec, but it looks like there's nothing there to remove the old name, that I could see anyway.
java-1.6.0-openjdk-188.8.131.52-33.b17.fc11 has been submitted as an update for Fedora 11.
java-1.6.0-openjdk-184.108.40.206-36.b17.fc12 has been submitted as an update for Fedora 12.
java-1.6.0-openjdk-220.127.116.11-35.b17.fc13 has been submitted as an update for Fedora 13.
java-1.6.0-openjdk-18.104.22.168-33.b17.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
java-1.6.0-openjdk-22.214.171.124-36.b17.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
java-1.6.0-openjdk-126.96.36.199-35.b17.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.