Skip to content

MIME Types for hosting J2ME .jar and .jad files

If you want a mobile phone to be able to download and install a java application (.jad/.jar file) from your website, you need to set up the correct MIME types for .jar and .jad files if they have not been set up by your webhost.

With apache, you can usually do this on a per-directory basis by adding the following lines to your .htaccess file:

addtype text/vnd.sun.j2me.app-descriptor jad
addtype application/java-archive jar

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*