Jiri Vanek jvanek at
Thu Jan 2 04:13:18 PST 2014

On 01/01/2014 11:16 PM, Jack Bates wrote:
> Firefox complains "A plugin is needed to display this content." when I try to access Oracle Forms. I
> am running a fresh install of Ubuntu 13.10 plus the icedtea-6-plugin package, version 1.4. The
> plugin is detected by Firefox when I visit both about:addons and about:plugins
> I reduced the Oracle Forms landing page to this test case:

Thank you for reproducer!
> Firefox complains with the same error when I visit this test case ("A plugin is needed to display
> this content.") but the error goes away if I drop the "jpi-version" from the test case.
> Unfortunately I can't drop the "jpi-version" from the actual Oracle Forms landing page.

This appeared to be more tricky then I thought at first. The attached patch is fixing the 
reproducers behaviour, however there is issue, that this type of definition requires exact 
hardccoded "_06" in mime descripor.

If Forms works for you, I would be happy to include


strings to itw when compiled by jdk7.

Currently, when icedtea-web is  compiled  by jdk6 it is using:
and when  jdk7.

So actually the issue will not be fixed by compilation by jdk6.

The oracle forms are requesting *exactly* 1.6.0_06  version, so even if we include


then your applet will still not be detected by firefox properly :(

As I'm not aware of any wildchars for mimedescritptiors, the only correct approach seems to be some 
generated list of:


Which you must admit will look in about:plugins even more terrible then current loong list

or maybe some custom mime types definitions in itw-settings?

I have CCed Deepak, who once studied the mimetypes, maybe he will have better idea.

Also maybe good idea may be to Contact oracle with the issue and ask them to remove this restriction.

> Can IcedTea-Web run the Oracle Forms applet?

I don't know. Can I try somewhere? Or can you try rebuilt icedtea-web with attached patch?

Best regards,

-------------- next part --------------
diff -r 1b804476f47e
--- a/	Thu Jan 02 11:47:21 2014 +0100
+++ b/	Thu Jan 02 12:51:00 2014 +0100
@@ -123,6 +123,7 @@
 # Fake update version to work with the Deployment Toolkit script used by Oracle
+# be aware of usage in
 # Sources list
diff -r 1b804476f47e plugin/icedteanp/
--- a/plugin/icedteanp/	Thu Jan 02 11:47:21 2014 +0100
+++ b/plugin/icedteanp/	Thu Jan 02 12:51:00 2014 +0100
@@ -62,13 +62,21 @@
 #define PLUGIN_DESC "The <a href=\"" PACKAGE_URL "\">" PLUGIN_NAME "</a> executes Java applets."
 #ifdef HAVE_JAVA7
+// regullar jpi support, JDK_UPDATE_VERSION is *hardcoded* in  to 50
+// hacky approach to support jpi of 6 in jpi of 7
+ #define JPI6_VERSION \
+  "application/x-java-applet;jpi-version=1.6.0_06:class,jar:IcedTea;"  \
+  "application/x-java-bean;jpi-version=1.6.0_06:class,jar:IcedTea;"    
+// regullar jpi support
+// no need to re-deffine
+ #define JPI6_VERSION
@@ -109,7 +117,8 @@
   "application/x-java-bean;version=1.6:class,jar:IcedTea;"             \
   "application/x-java-bean;jpi-version=" JPI_VERSION ":class,jar:IcedTea;"    \
-  "application/x-java-vm-npruntime::IcedTea;"
+  "application/x-java-vm-npruntime::IcedTea;" \
 #define PLUGIN_MIME_TYPE "application/x-java-vm"

More information about the distro-pkg-dev mailing list