Bug#266522: java-package: Include javaws mime type and handler.

Julian Gilbey jdg at polya.uklinux.net
Mon Feb 6 21:00:07 UTC 2006


On Sun, Feb 05, 2006 at 10:22:00PM -0500, Barry Hawkins wrote:
> Julian,
>     Thanks!  I was just starting on the MIME support stuff this weekend.
> We just have to structure these types of files to automatically be
> generated for the various types of files handled by a JRE or JDK to be
> appropriately generated according to which vendor and which architecture
> supports them.  If you happen to have the MIME types for .jar, .class,
> and .java files and could post them here, that'd be of help.

Have a look in /etc/mime.types, which is maintained centrally.  The
current testing version includes the following entries:

application/java-archive                        jar
application/java-serialized-object              ser
application/java-vm                             class
application/x-java-applet
application/x-java-bean
application/x-java-jnlp-file                    jnlp
application/x-javascript                        js
text/x-java                                     java

My /usr/lib/mime/packages/sun-j2re1.5 contains the line:

application/x-java-jnlp-file; /usr/lib/j2re1.5-sun/bin/javaws %s

More I can't tell you, I'm afraid.

   Julian




More information about the pkg-java-maintainers mailing list