NoOp wrote:

@Craig: I won't have fedora or openSUSE back up until later today. I'll
try to test then.

@Jens: I did a bit of experimenting this morning and discovered
(Ubuntu/Debian) that Mozilla Firefox (not the distro version) uses
mozilla-javaplugin.so only, whereas SeaMonkey (not the distro version)
does not & requires the system java also to be java-6-openjdk.

For example if I set my system jre to 1.7.0_04:

$ java -version
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b20)
Java HotSpot(TM) Client VM (build 23.0-b21, mixed mode, sharing)

And set my mozilla-javaplugin.so to the same

$ ls -al /etc/alternatives/mozilla-javaplugin.so
lrwxrwxrwx 1 root root 45 2012-06-07 11:59
/etc/alternatives/mozilla-javaplugin.so ->
/opt/java/32/jre1.7.0_04/lib/i386/libnpjp2.so

Firefox (13) picks up & accepts 1.7.0_04, SeaMonkey does not.

If I then set *only* mozilla-javaplugin.so to java-6-openjdk (leaving
the system version set to 1.7.0_04):

$ sudo update-alternatives --config mozilla-javaplugin.so
There are 2 choices for the alternative mozilla-javaplugin.so (providing
/usr/lib/mozilla/plugins/libjavaplugin.so).

   Selection    Path
   Priority   Status
------------------------------------------------------------
* 0            /opt/java/32/jre1.7.0_04/lib/i386/libnpjp2.so
    2000      auto mode
   1            /opt/java/32/jre1.7.0_04/lib/i386/libnpjp2.so
    2000      manual mode
   2            /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so
   1061      manual mode

Press enter to keep the current choice[*], or type selection number: 2
update-alternatives: using
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so to provide
/usr/lib/mozilla/plugins/libjavaplugin.so (mozilla-javaplugin.so) in
manual mode.

Firefox 13 recognizes the change immediately and now uses java-6-openjdk
(again leaving the system version set to 1.7.0_04) - SeaMonkey does not.

SeaMonkey *only* accepts java-6-openjdk if I set the system *and* the
mozilla-javaplugin.so to java-6-openjdk:
====
$ sudo update-alternatives --config java
There are 4 choices for the alternative java (providing /usr/bin/java).

   Selection    Path                                      Priority   Status
------------------------------------------------------------
* 0            /opt/java/32/jre1.7.0_04/bin/java          2000      auto
mode
   1            /opt/java/32/jre1.7.0_04/bin/java          2000
manual mode
   2            /usr/bin/gij-4.4                           1044
manual mode
   3            /usr/bin/gij-4.5                           1045
manual mode
   4            /usr/lib/jvm/java-6-openjdk/jre/bin/java   1061
manual mode

Press enter to keep the current choice[*], or type selection number: 4
update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/bin/java to
provide /usr/bin/java (java) in manual mode.
====

$ ls -al /etc/alternatives/mozilla-javaplugin.so
lrwxrwxrwx 1 root root 57 2012-06-07 12:03
/etc/alternatives/mozilla-javaplugin.so ->
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so

about:plugins (SeaMonkey):

IcedTea-Web Plugin (using IcedTea-Web 1.1.1 (1.1.1-0ubuntu1~11.04.2))
     File: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/IcedTeaPlugin.so

Note: you do not have to shutdown & restart SeaMonkey to test; just
clear all your caches & reload the about:plugins page.

So something is definately odd when Firefox ignores the system java/jre
and relies only on the mozilla-javaplugin.so symlink. But SeaMonkey
requires both (system and mozilla-javaplugin.so).


That sure does seem like a lot of trouble for something that should (and always did in the past) work "out of the box".

I'm still a bit confused... Is this an issue for which we will likely see a fix in the future regardless of whether or not it is a Java issue or a SeaMonkey issue?

--
Regards,<br>
CatThief<br><br>

To reply privately, please PM me at MozillaZine...<br>
http://forums.mozillazine.org/ucp.php?i=pm&mode=compose&u=25774


_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to