← Back to team overview

openjdk team mailing list archive

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

 

Here's a debdiff that will install the alternative for the mozilla
directory if it helps to speed things up.

** Attachment added: "sun-java6_6.19-0ubuntu3.debdiff"
   http://launchpadlibrarian.net/43161249/sun-java6_6.19-0ubuntu3.debdiff

-- 
[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: Confirmed
Status in “openjdk-6” source package in Lucid: Invalid
Status in “sun-java6” source package in Lucid: Confirmed

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