Bug 595191

Summary: java-1.6.0-openjdk-plugin has broken symlink in /etc/alternatives
Product: [Fedora] Fedora Reporter: Brian Daniels <bitmage>
Component: java-1.6.0-openjdkAssignee: Martin Matejovic <mmatejov>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dbhole, farrellj, kyryl.bilokurov, lkundrak, mjw, mmatejov, msdeleonpeque, rruss
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-15 18:42:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian Daniels 2010-05-23 23:46:29 UTC
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

Comment 1 Brian Daniels 2010-06-07 13:50:58 UTC
I installed another system from F13 release, and it did not have this issue.  My beta system was using 1:1.6.0.0-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.

Comment 2 Jason Farrell 2010-06-07 20:46:41 UTC
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.

Comment 3 Peque 2010-06-15 15:16:15 UTC
Thanks, that helped me fixing the problem :-)

Comment 4 Jason Farrell 2010-06-15 18:42:14 UTC

*** This bug has been marked as a duplicate of bug 602906 ***