Skip to content

Apache and JNLP files

To Apache Web Server correctly handles yours JNLP (Java Network Launch Protocol) files, modify or create a .htaccess file in the top directory of your web site and add the following:

AddType application/x-java-jnlp-file    .jnlp
AddType application/x-java-archive-diff .jardiff

Without these MIME-types, the user would see the xml jnlp file as a plain text in the browser. After that you can link to yours Java Web Start applications with a icon like this one:

Published inenglish

One Comment

  1. alberto alberto

    hi i need import ..1 archive .property in jnlp… how i can do??? please.. step by step .. i am noob in java

Leave a Reply

Your email address will not be published. Required fields are marked *