Mime-Type for .jar file?

From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 01/30/04


Date: Fri, 30 Jan 2004 11:48:45 GMT

Is there a correct 'mime-type' to identify
a java jar file?

Somebody using Mozilla commented they
got the literal bytecodes in their browser,
when they followed a likn to a jar at the
on-line compiler.

I began to investigate mime-types,
because you need to get your server
to identify .jnlp files using a mime-type..

After trawling around Sun and getting
nowhere (I could gind mime-type for
applet and jnlp only), I started
experimenting.

Using the one for applet does not work,
you just get a blank screen then referred
to Sun (Java was already installed). So
hen I got silly and just adapted my own..
application/x-java-application

This results in Mozilla asking you what
you want to use to open the jar file.

My question is, are there any really
compelling reasons _not_ to define
this mime type? Have I missed
something obvious?

--
Andrew Thompson
* http://www.PhySci.org/ Open-source software suite
* http://www.PhySci.org/codes/ Web & IT Help
* http://www.1point1C.org/ Science & Technology