Red Hat Bugzilla – Bug 595191
java-1.6.0-openjdk-plugin has broken symlink in /etc/alternatives
Last modified: 2010-06-15 14:42:14 EDT
Description of problem:
On a standard install of Fedora 13 Beta 64bit, java applications do not work in FireFox. In /etc/alternatives there is a broken symlink to the plugin:
/etc/alternatives/libjavaplugin.so.x86_64 -> /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaNPPlugin.so
which does not exist.
Recreating the symlink as follows corrects the problem:
ln -s /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so libjavaplugin.so.x86_64
Version-Release number of selected component (if applicable):
Fedora 13 Beta
I installed another system from F13 release, and it did not have this issue. My beta system was using 1:188.8.131.52-38.b18.fc13 from the updates-testing repo for some reason. Removing java-1.6.0-openjdk and then reinstalling from the release repo corrected the problem. The symlink points to /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaNPPlugin.so which is present.
after running: alternatives --remove libjavaplugin.so.x86_64 /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaNPPlugin.so
the symlink then correctly points to: /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/lib/amd64/IcedTeaPlugin.so
the postinstall scriptlet for the plugin isn't removing the correct old path.
Thanks, that helped me fixing the problem :-)
*** This bug has been marked as a duplicate of bug 602906 ***