If I then install sun-java6-plugin, BOTH plugins are loaded, indicating that:
- firefox 3 is seeing the two plugins via different paths
- the sun plugin is providing alternatives that the icedtea plugin doesn't
The sun plugin was first when I restarted firefox immediately after installing sun-java6-plugin. When I then reset the alternatives for the openk, the icedtea plugin appeared first. At that stage, I checked /etc/alternatives/*javaplugin*, and get the following list of alternatives, only one of which points to the icedtea plugin.
tim@zaphod:~$ ls -l /etc/alternatives/*javaplugin*
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternatives/firefox-javaplugin.so -> /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternatives/iceape-javaplugin.so -> /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternatives/iceweasel-javaplugin.so -> /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternatives/midbrowser-javaplugin.so -> /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternatives/mozilla-javaplugin.so -> /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 58 2009-04-13 11:21 /etc/alternatives/xulrunner-1.9-javaplugin.so -> /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternatives/xulrunner-javaplugin.so -> /usr/lib/jvm/java-6-sun/jre/lib/amd64/libnpjp2.so
So xulrunner code appears to be searching for plugins in at least two places (and finds different end targets).
This is a separate bug (may actually be two bugs:
openjdk/icedtea plugin failing to provide the full set of alternatives
xulrunner searching multiple places for its plugins
I can confirm that after the update to 6b14-1. 4.1-0ubuntu6, and purging sun-java6-plugin, my test cases work: java.com/ en/download/ help/testvm. xml java.sun. com/applets/ other/Bubbles/ index.html works www.jigzone. com/puzzles/ daily-jigsaw works
* http://
* http://
* http://
If I then install sun-java6-plugin, BOTH plugins are loaded, indicating that:
- firefox 3 is seeing the two plugins via different paths
- the sun plugin is providing alternatives that the icedtea plugin doesn't
The sun plugin was first when I restarted firefox immediately after installing sun-java6-plugin. When I then reset the alternatives for the openk, the icedtea plugin appeared first. At that stage, I checked /etc/alternativ es/*javaplugin* , and get the following list of alternatives, only one of which points to the icedtea plugin. es/*javaplugin* es/firefox- javaplugin. so -> /usr/lib/ jvm/java- 6-sun/jre/ lib/amd64/ libnpjp2. so es/iceape- javaplugin. so -> /usr/lib/ jvm/java- 6-sun/jre/ lib/amd64/ libnpjp2. so es/iceweasel- javaplugin. so -> /usr/lib/ jvm/java- 6-sun/jre/ lib/amd64/ libnpjp2. so es/midbrowser- javaplugin. so -> /usr/lib/ jvm/java- 6-sun/jre/ lib/amd64/ libnpjp2. so es/mozilla- javaplugin. so -> /usr/lib/ jvm/java- 6-sun/jre/ lib/amd64/ libnpjp2. so es/xulrunner- 1.9-javaplugin. so -> /usr/lib/ jvm/java- 6-openjdk/ jre/lib/ amd64/IcedTeaPl ugin.so es/xulrunner- javaplugin. so -> /usr/lib/ jvm/java- 6-sun/jre/ lib/amd64/ libnpjp2. so
tim@zaphod:~$ ls -l /etc/alternativ
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternativ
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternativ
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternativ
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternativ
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternativ
lrwxrwxrwx 1 root root 58 2009-04-13 11:21 /etc/alternativ
lrwxrwxrwx 1 root root 49 2009-04-13 11:21 /etc/alternativ
Checking firefox/xulrunner java plugin references gives: xulrunner* /plugins/ *java* /usr/lib/ firefox* /plugins/ *java* xulrunner- 1.9.0.8/ plugins/ libjavaplugin. so -> /etc/alternativ es/xulrunner- 1.9-javaplugin. so xulrunner- addons/ plugins/ libjavaplugin. so -> /etc/alternativ es/xulrunner- 1.9-javaplugin. so xulrunner/ plugins/ libjavaplugin. so -> /etc/alternativ es/xulrunner- javaplugin. so firefox/ plugins/ libjavaplugin. so -> /etc/alternativ es/firefox- javaplugin. so
tim@zaphod:~$ ls -l /usr/lib/
lrwxrwxrwx 1 root root 45 2009-03-19 07:15 /usr/lib/
lrwxrwxrwx 1 root root 45 2009-03-19 07:15 /usr/lib/
lrwxrwxrwx 1 root root 41 2009-04-13 11:17 /usr/lib/
lrwxrwxrwx 1 root root 39 2009-04-13 11:17 /usr/lib/
tim@zaphod:~$
So xulrunner code appears to be searching for plugins in at least two places (and finds different end targets).
This is a separate bug (may actually be two bugs:
openjdk/icedtea plugin failing to provide the full set of alternatives
xulrunner searching multiple places for its plugins