Installing sun-java6-plugin does not result in working seamonkey java

Bug #269136 reported by Bryce Nesbitt
4
Affects Status Importance Assigned to Milestone
sun-java6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I installed sun-java6-plugin, and expected it to handle Seamonkey, but it did not.

See also Bug #267260

Package sun-java6-plugin installs:
  /.
  /usr
  /usr/share
  /usr/share/doc
  /usr/lib
  /usr/lib/xulrunner-addons
  /usr/lib/xulrunner-addons/plugins
  /usr/share/doc/sun-java6-plugin
This results in working Sun Java for Firefox, but not for the Mozilla Seamonkey browser suite.
Seamonkey says that java is not installed.

There a forum thread about a 64 bit version of this problem, but that's not relevant to me http://ubuntuforums.org/showthread.php?t=774956

$ cat /proc/cpuinfo
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
stepping : 2

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

~$ apt-cache policy sun-java6-plugin
sun-java6-plugin:
  Installed: 6-06-0ubuntu1
  Candidate: 6-06-0ubuntu1
  Version table:
 *** 6-06-0ubuntu1 0
        500 http://us.archive.ubuntu.com hardy/multiverse Packages
        100 /var/lib/dpkg/status

Revision history for this message
Bryce Nesbitt (bryce2) wrote :

Workaround with:

# cd /usr/lib/seamonkey/plugins/
# sudo ln -s /usr/lib/xulrunner-addons/plugins/libjavaplugin.so

Revision history for this message
Bryce Nesbitt (bryce2) wrote :

Keywords for google: HardyHeron, Hardy Heron, Ubuntu, Seamonkey Browser, Sun Java, PlugIn, Plug In, Bug, Solution, Issue, Problem, Install.

Revision history for this message
graceful1 (gvpalazz) wrote :

I attempted that workaround, but Java plugin still doesn't work on SeaMonkey 1.1.12; Java works fine for FF 3.0

Revision history for this message
markor (markoresko) wrote :

Hi I am using Seamonkey 64-bit, myself on 8.04.1 but,
could you explain how do you test java itself, so I could test java working here, too?
What method of testing are you using so I could reproduce bug on 64-bit and 32-bit?

Revision history for this message
nanotube (nanotube) wrote :

this bug is still present on karmic. the problem is the postinst script in the sun-java6-plugin package, which only installs an alternative in /usr/lib/xulrunner-1.9/plugins, but not in the 'canonical' location for plugins which is /usr/lib/mozilla/plugins

to fix this, line 6 of the postinst script should read:

browser_dirs="xulrunner-addons mozilla"

then the alternative would be installed in /usr/lib/mozilla/plugins, along with the xulrunner dir.

for reference:
https://developer.mozilla.org/en/firefox_3.5_for_developers
states "Firefox now looks for plugins in /usr/lib/mozilla/plugins on Linux, as well as the previously supported locations.", which also applies to seamonkey2.

Revision history for this message
Nomax (nomax) wrote :

Following nanotub's path, the problem isn't fixed in Lucid either.

As a workaround, you can install icedtea6-plugin which works in both Firefox and SeaMonkey (and with 64-bit builds!).

Revision history for this message
Nomax (nomax) wrote :

Woops. Sorry, I did a mistake. This is apparently fixed in Lucid.

I'll test and report here.

Revision history for this message
Nomax (nomax) wrote :

Ok, just tested. Postinst script is correct in Lucid version of the sun-java6-plugin. SeaMonkey detects and load Java plugin.

Changed in sun-java6 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.