← Back to team overview

openjdk team mailing list archive

[Bug 211309] Re: [hardy] Java plugin not registered in Firefox 2

 

I confirm this bug, this is annoying for most french user who have to do
their tax declaration on the web,

How it worked for me :

sudo aptitude install firefox-2 sun-java-plugin

cat | patch -p0 << EOF
--- /var/lib/dpkg/info/sun-java5-plugin.postinst.orig   2008-05-25 13:00:19.000000000 +0200
+++ /var/lib/dpkg/info/sun-java5-plugin.postinst        2008-05-25 13:00:53.000000000 +0200
@@ -3,7 +3,7 @@
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 
 priority=53
-browser_dirs="xulrunner-addons"
+browser_dirs="xulrunner-addons firefox"
 PLUGIN=libjavaplugin_oji.so
 PLUGINPTH=/usr/lib/jvm/java-1.5.0-sun/jre/plugin/i386/ns7/$PLUGIN
EOF

sudo dpkg-reconfigure sun-java5-plugin

firefox-2  about:plugins


Good luck with other configurations

-- 
[hardy] Java plugin not registered in Firefox 2
https://bugs.launchpad.net/bugs/211309
You received this bug notification because you are a member of OpenJDK,
which is subscribed to icedtea-gcjwebplugin in ubuntu.

Status in Source Package "icedtea-gcjwebplugin" in Ubuntu: Fix Released
Status in Source Package "sun-java5" in Ubuntu: New
Status in Source Package "sun-java6" in Ubuntu: Fix Released
Status in icedtea-gcjwebplugin in Ubuntu Hardy: Fix Committed
Status in sun-java5 in Ubuntu Hardy: New
Status in sun-java6 in Ubuntu Hardy: New

Bug description:
Java plugin is not registered with Firefox 2, only Firefox 3.

Solution:  In sun-java6-plugin.postinst script, extend the

browser_dirs="xulrunner-addons"

variable by "firefox" or "firefox-addons".

whichever is right.