Code: Select all
<jnlp ...>
<information>
<association mime-type="application-x/<custom mime type>" extensions="*.xyz">
<description>App File xyz</description>
</association>
</information>
</jnlp>
Code: Select all
<jnlp ...>
<information>
<association mime-type="application-x/<custom mime type>" extensions="*.xyz">
<description>App File xyz</description>
</association>
</information>
</jnlp>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/jnlp" href="webstart-monitor.jnlpb">
<information>
<title>WebStart Monitor</title>
<vendor>Karakun AG</vendor>
<offline-allowed/>
<association mime-type="application/x-jnlpb-file" extensions="jnlpb">
<description>App File jnlpb</description>
</association>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.8+" />
<jar href="generated-jars/webstart-monitor.jar"/>
</resources>
<application-desc main-class="com.karakun.ows.monitor.WebStartMonitorStarter"/>
</jnlp>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/Dummy" href="dummy.jnlp">
<information>
<title>Dummy</title>
<vendor>ABC Inc</vendor>
<offline-allowed/>
<association mime-type="application/x-jnlpb-file" extensions="jnlpb">
<description>App File jnlpb</description>
</association>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.8*" />
<jar href="dummy-1.0-SNAPSHOT.jar"/>
</resources>
<application-desc main-class="org.example.Main"/>
</jnlp>
That's what I found as well looking through it.I checked the code of Icedtea-web on top of which OWS is built. It does process the <association> tag in the jnlp file but I did not find any action. Neither does Icedtea-web seem to be creating any registry entry containing "jnlp" or file association.
No, just the defaults. Very strange indeed.Yes <association> tag is not implemented although it is processed by the parser. But I wonder why the association is not created when I run the jnlp with Oracle JWS Java 8 u421? Did you set some property in the Java Control Panel: