Bug 338158

Summary: Java-Plugin in Firefox does not work
Product: [openSUSE] openSUSE 10.3 Reporter: Ulrich Derenthal <uli.2001>
Component: JavaAssignee: E-mail List <bnc-team-java>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: bernhard.bender
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Xorg.0.log
xorg.conf

Description Ulrich Derenthal 2007-10-31 14:45:13 UTC
Java does not work in Firefox. When I go to websites with Java, Firefox complains about a missing plugin. about:plugins does not list Java. I have the following packages installed:

> rpm -qa |grep -i java
java-1_5_0-sun-1.5.0_update13-0.3
java-1_4_2-gcj-compat-1.4.2.0-177
java-1_5_0-sun-plugin-1.5.0_update13-0.3

> rpm -qa |grep -i firefox
MozillaFirefox-translations-2.0.0.8-1.1
MozillaFirefox-2.0.0.8-1.1
Comment 1 Bernhard Bender 2007-11-04 00:10:37 UTC
I see the same here.

The problem may be due to a broken chain of symlinks:

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

The latter file does not exist, and its file name does not fit the the "update13" version of java-1_5_0-sun-plugin installed.

I think this broke with the most recent Java update on Oct 22.

I have manually changed the javaplugin soft link in /etc/alternatives et voila: Firefox has found it Java plugin again.
Comment 2 Bernhard Bender 2007-11-04 00:49:09 UTC
Bug #334783 has more on this.

For me, the javaplugin link was in "manual" mode:

berty:/home/ber # update-alternatives --display javaplugin
javaplugin - status is manual.
 link currently points to /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13/jre/plugin/i386/ns7/libjavaplugin_oji.so


setting it to "auto" also fixed the problem:

berty:/home/ber # update-alternatives --auto javaplugin
berty:/home/ber # update-alternatives --display javaplugin
javaplugin - status is auto.
 link currently points to /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/jvm/java-1.5.0-sun-1.5.0_update13/jre/plugin/i386/ns7/libjavaplugin_oji.so - priority 1513
Current `best' version is /usr/lib/jvm/java-1.5.0-sun-1.5.0_update13/jre/plugin/i386/ns7/libjavaplugin_oji.so.


*** This bug has been marked as a duplicate of bug 334783 ***
Comment 3 Ulrich Derenthal 2007-12-31 10:40:31 UTC
Created attachment 188964 [details]
Xorg.0.log
Comment 4 Ulrich Derenthal 2007-12-31 10:41:00 UTC
Created attachment 188965 [details]
xorg.conf
Comment 5 Ulrich Derenthal 2007-12-31 10:42:21 UTC
Additionally, the flickering of the screen on the command line (Ctrl+Alt+F1) reappeared.
Comment 6 Michal Vyskocil 2008-01-21 15:23:59 UTC
Hi Ulrich,

the problem with javaplugin is the bug https://bugzilla.novell.com/show_bug.cgi?id=334783 (see https://bugzilla.novell.com/show_bug.cgi?id=334783#c93 for information about new release).

I dont understand your comment #5 - how the flickering of the screen in command line hangs together with javaplugins? Should you take me more informations?
Comment 7 Ulrich Derenthal 2008-01-21 16:25:04 UTC
I wanted to post comments #3, #4 and #5 to Bug #331673, but for some reason, I ended up posting them here.

Sorry for this mess...
Comment 8 Michal Vyskocil 2008-01-21 16:49:21 UTC
No a problem. I'll match this bug as duplicate of https://bugzilla.novell.com/show_bug.cgi?id=334783

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