Bug 595191 - java-1.6.0-openjdk-plugin has broken symlink in /etc/alternatives
java-1.6.0-openjdk-plugin has broken symlink in /etc/alternatives
Status: CLOSED DUPLICATE of bug 602906
Product: Fedora
Classification: Fedora
Component: java-1.6.0-openjdk (Show other bugs)
13
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Martin Matejovic
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-23 19:46 EDT by Brian Daniels
Modified: 2010-06-15 14:42 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-15 14:42:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Brian Daniels 2010-05-23 19:46:29 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
Comment 1 Brian Daniels 2010-06-07 09:50:58 EDT
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 16:46:41 EDT
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 11:16:15 EDT
Thanks, that helped me fixing the problem :-)
Comment 4 Jason Farrell 2010-06-15 14:42:14 EDT

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

Note You need to log in before you can comment on or make changes to this bug.