← Back to team overview

openjdk team mailing list archive

[Bug 344705] Re: IcedTea Plugin Doesnt Work

 

A possibly aggravating factor is that with both the Sun and IcedTea plugins installed, BOTH plugins are loaded.  This appears to be because xulrunner is loading plugins from two locations:
* /usr/lib/xulrunner-addons/plugins (or /usr/lib/xulrunner-1.9.0.7/plugins, which is a symlink) 
* AND /usr/lib/xulrunner/plugins

but is only installing ONE alternative entry for the plugin, while the
Sun plugin installs seven.  This appears to be because
openjdk/debian/rules is overriding browser_plugin_dirs to just be
xulrunner-addons.   See attached patch.


I suspect that this bug  and bug #344669 may be duplicates.  This is because applets that worked under IcedTea *before* installing the sun plugin (as I reported in bug #344669) ceased to work after the following sequence of events:
1: the sun plugin was installed
2: update-java-alternatives --set java-6-sun
3: update-java-alternatives --plugin --set java-6-openjdk
My uncertainty is because I am running Jaunty 64-bit, while this bug does not state which architecture is involved.

** Attachment added: "Patch to fix openjdk/IcedTea plugin alternatives list"
   http://launchpadlibrarian.net/24241548/openjdk-plugin-dirs.patch

-- 
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