← Back to team overview

openjdk team mailing list archive

[Bug 532174] Re: [Lucid] sun-java6-plugin not recognized by firefox anymore

 

Hi, 
the command using update-alternatives didn't work for me, I had to manually create the link :

sudo ln -sf /usr/lib/jvm/java-6-sun/jre/lib/i386/libnpjp2.so
/usr/lib/mozilla/plugins/mozilla-javaplugin.so

I'm using Lucid (fresh installation, only kept my home dir), OpenJDK has
been installed prior to Sun JRE.

-- 
[Lucid] sun-java6-plugin not recognized by firefox anymore
https://bugs.launchpad.net/bugs/532174
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: Invalid
Status in “sun-java6” package in Ubuntu: Fix Released
Status in “openjdk-6” source package in Lucid: Invalid
Status in “sun-java6” source package in Lucid: Fix Released

Bug description:
In lucid firefox 3.6 doesn't seem to recognize the plugin in /usr/lib/xulrunner-addons/plugins/ anymore, putting the symlink in /usr/lib/mozilla/plugins/ works, so the following part of the java debian/rules should be changed (line 66ff)

# FIXME: xulrunner-addons only tested on sid, jaunty, karmic
ifeq ($(distribution),Ubuntu)
  browser_plugin_dirs = xulrunner-addons firefox iceape iceweasel mozilla midbrowser xulrunner
  browser_plugin_dirs = xulrunner-addons
else
  browser_plugin_dirs = mozilla
endif

It works fine too if you just remove that.

apt-cache policy sun-java6-plugin
sun-java6-plugin:
  Installed: 6.18-2
  Candidate: 6.18-2
  Version table:
 *** 6.18-2 0
        600 http://archive.canonical.com lucid/partner Packages