← Back to team overview

openjdk team mailing list archive

[Bug 344705] Re: IcedTea Plugin Doesnt Work

 

I can confirm that after the update to 6b14-1.4.1-0ubuntu6, and purging sun-java6-plugin, my test cases work:
* http://java.com/en/download/help/testvm.xml
* http://java.sun.com/applets/other/Bubbles/index.html works
* http://www.jigzone.com/puzzles/daily-jigsaw works


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


Checking firefox/xulrunner java plugin references gives:
tim@zaphod:~$ ls -l /usr/lib/xulrunner*/plugins/*java* /usr/lib/firefox*/plugins/*java*
lrwxrwxrwx 1 root root 45 2009-03-19 07:15 /usr/lib/xulrunner-1.9.0.8/plugins/libjavaplugin.so -> /etc/alternatives/xulrunner-1.9-javaplugin.so
lrwxrwxrwx 1 root root 45 2009-03-19 07:15 /usr/lib/xulrunner-addons/plugins/libjavaplugin.so -> /etc/alternatives/xulrunner-1.9-javaplugin.so
lrwxrwxrwx 1 root root 41 2009-04-13 11:17 /usr/lib/xulrunner/plugins/libjavaplugin.so -> /etc/alternatives/xulrunner-javaplugin.so
lrwxrwxrwx 1 root root 39 2009-04-13 11:17 /usr/lib/firefox/plugins/libjavaplugin.so -> /etc/alternatives/firefox-javaplugin.so
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

-- 
IcedTea Plugin Doesnt Work
https://bugs.launchpad.net/bugs/344705
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: icedtea6-plugin

Having installed the icedteam plugin for the web, I've found it does not work. Going to this test URL results in failure:

http://java.com/en/download/help/testvm.xml

CPU utilisation spams to 100% and no java applets are working.

I have the current Jaunty repo revision installed, which is the following:

nullack@PPP:~$ sudo apt-cache policy icedtea6-plugin
icedtea6-plugin:
  Installed: 6b14-1.4.1-0ubuntu4
  Candidate: 6b14-1.4.1-0ubuntu4
  Version table:
 *** 6b14-1.4.1-0ubuntu4 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

FireFox knows that it is installed:

IcedTea Java Web Browser Plugin

    File name: IcedTeaPlugin.so
    The IcedTea Java Web Browser Plugin 1.4.1 (6b14-1.4.1-0ubuntu4) executes Java applets.

MIME Type 	Description 	Suffixes 	Enabled
application/x-java-vm 	IcedTea 	class,jar 	Yes
application/x-java-applet 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.1 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.1.1 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.1.2 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.1.3 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.2 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.2.1 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.2.2 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.3 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.3.1 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.4 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.4.1 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.4.2 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.5 	IcedTea 	class,jar 	Yes
application/x-java-applet;version=1.6 	IcedTea 	class,jar 	Yes
application/x-java-applet;jpi-version=1.6.0_00 	IcedTea 	class,jar 	Yes
application/x-java-bean 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.1 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.1.1 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.1.2 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.1.3 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.2 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.2.1 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.2.2 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.3 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.3.1 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.4 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.4.1 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.4.2 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.5 	IcedTea 	class,jar 	Yes
application/x-java-bean;version=1.6 	IcedTea 	class,jar 	Yes
application/x-java-bean;jpi-version=1.6.0_00 	IcedTea 	class,jar 	Yes



References