4 Mar 2003 dyork   » (Master)

Mozilla, plugins and MIME Types - Today's challenge is that we have an application that we use internally that has a Java applet as part of it. The Java applet won't run in Mozilla 1.2.1 because it is looking for:

  application/x-java-applet;jpi-version=1.3.0_01

Given that I have installed JRE version 1.4.0, I would expect that this wouldn't be a problem.. I mean, surely the applet must check for "1.3.0_01" or later... but no, it seems that it MUST have that very specific version. When I do "About Plugins" in Mozilla, I get a very long list of MIME types supported by the Java plugin, including the following:

  application/x-java-applet;jpi-version=1.4
  application/x-java-applet;jpi-version=1.4.0_01

However, since "1.3.0_01" isn't in the list, the applet can't work. I figured... no problem... it's just some preferences file somewhere in my '.mozilla' directory. Nope. Nor in /usr/lib/mozilla or /usr/lib/netscape or /etc/pluggerrc or /usr/java/j2re1.4.0_01. I also tried adding it to the helper applications list in Mozilla... nope...

So now I'm really puzzled. It would seem to make sense that when a plugin is installed, it must register the MIME types it supports somehow in some location, but where that location is does not seem to be easy to find.

If anyone knows and can drop me an e-mail, it would help me keep my sanity just that much longer.

By the way, this application in question is a commercial app for code/bug tracking, not something we made ourselves. (If we had the source code, we could, of course, change it so that it doesn't only require an old version of the JRE.)

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!