Bug 348694 - libjavaplugin is not registered with Firefox
Summary: libjavaplugin is not registered with Firefox
Status: RESOLVED DUPLICATE of bug 334783
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: Java (show other bugs)
Version: Final
Hardware: i686 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-14 11:07 UTC by Forgotten User Drfk9mafMw
Modified: 2008-01-21 15:19 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User Drfk9mafMw 2007-12-14 11:07:07 UTC
Neither in version 1.5 nor in 1.6 the plugin is properly registered in the Firefox plugin directory. 

For the time being I have created a symlink, but this should definitely get a fix soon.
Comment 1 Marcus Meissner 2007-12-14 13:19:49 UTC
firefox uses /usr/lib/browser-plugins/

it should be linked there
Comment 2 Forgotten User Drfk9mafMw 2007-12-14 13:39:43 UTC
OK, we are getting closer:

lrwxrwxrwx 1 root root      28 Oct  4 17:22 javaplugin.so -> /etc/alternatives/javaplugin

and that one in turn points to nowhere: 

/etc/alternatives/javaplugin -> /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/plugin/i386/ns7/libjavaplugin_oji.so                                                                

Due to OpenOffice.org which still need 1.5.0, I have the following java packages installed:

java-1_6_0-sun-demo-1.6.0.u3-0.5
java-1_6_0-sun-alsa-1.6.0.u3-0.5
java-1_6_0-sun-1.6.0.u3-0.5
java-1_5_0-sun-1.5.0_update13-0.5
java-1_6_0-sun-plugin-1.6.0.u3-0.5
java-1_6_0-sun-devel-1.6.0.u3-0.5

The above link does not exist. And since it did not work with the 1.5.0 packages installed exclusively (i.e. without any 1.6 package), there is something wrong with the provided packages...
Comment 3 Forgotten User Drfk9mafMw 2007-12-14 13:40:43 UTC
To repeat: neither with java-1_6_0-sun-plugin nor with java-1_5_0-sun-plugin the links seem to be properly created.
Comment 4 Marcus Meissner 2007-12-14 14:05:40 UTC
this is unfortunatley a known problem and we thought we fixed it.

to fix it on your machine, do as root:

update-alternatives --auto java
update-alternatives --auto javaplugin
Comment 5 Forgotten User Drfk9mafMw 2007-12-14 14:14:18 UTC
Thank you, that really helped!

FYI, I am using the officially provided packages from http://download.opensuse.org/update/10.3/

So there is still something wrong...
Comment 6 Forgotten User Drfk9mafMw 2007-12-14 14:21:17 UTC
Hmmmmm, funny: I just checked on another machine---everythings seems to be alright there.

It is pretty much an identical machine, so I cannot explain why it is fine there and not so here :(

Still, there are other java-related links there in /etc/alternatives/ which are dead (the above commands have *not* been issued here, yet!):

lrwxrwxrwx 1 root root 39 2007-10-17 09:40 javah -> /usr/lib/jvm/java-1.4.2-cacao/bin/javah
lrwxrwxrwx 1 root root 38 2007-10-17 09:40 rmic -> /usr/lib/jvm/java-1.4.2-cacao/bin/rmic

On my machine this changed a little: the dead links are:
lrwxrwxrwx 1 root root 45 Dec 14 15:10 kinit.1.gz -> /usr/share/man/man1/kinit-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 45 Dec 14 15:10 klist.1.gz -> /usr/share/man/man1/klist-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 44 Dec 14 15:10 ktab.1.gz -> /usr/share/man/man1/ktab-java-1_6_0-sun.1.gz

Comment 7 Forgotten User Drfk9mafMw 2007-12-14 20:15:15 UTC
OK, checked on a third machine with:

java-1_5_0-sun-1.5.0_update13-0.5
java-1_5_0-sun-plugin-1.5.0_update13-0.5

The link in /etc/alternatives is dead here, too:
lrwxrwxrwx 1 root root 83 2007-10-17 23:04 javaplugin -> /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/jre/plugin/i386/ns7/libjavaplugin_oji.so


Judging from the date the link has not been updated together with the last java updates.
Comment 8 Michal Vyskocil 2007-12-17 09:22:49 UTC
#6: the 0.5 update of java contains the workaround to fix this problem. I don't understand, why it doesn't work in every cases, because it works well on all of my testing machines :-(

Should you post the output of the update-alternatives --display javaplugin command?
Comment 9 Michal Vyskocil 2008-01-21 15:19:49 UTC
Its the same problem as #334783

----
if anybody still have a problem, you are welcome to test a new update of
Java. See http://en.opensuse.org/User:Mvyskocil for more details.

I close this bug as duplicate

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