My JNLP still works fine after our switch from Java 6 to Java 7, but it now throws a whole series of errors like this:
Missing Application-Name: manifest attribute for: http://blah.com/app.jar
Missing Permissions manifest attribute for: http://blah.com/app.jar
Missing Codebase manifest attribute for: http://blah.com/app.jar
It repeats several times for our main jar and a couple times for one of our library jars. However, it does not occur at all for the bulk of our library jars. JaNeLa lists some optimization opportunities (by changing some defaults), but none of those appear to be related, and no actual errors are found.
So far searching the web has left me empty handed on how to make the JNLP file format into something that Java 7 finds worthy. :-)
See Missing Codebase manifest attribute for:xxx.jar for an explanation for Permissions and Codebase. If you use ant, you can use the following to add the entries to the manifest:
<manifest file="${source}/META-INF/MANIFEST.MF" mode="update">
<attribute name="Permissions" value="all-permissions"/>
<attribute name="Codebase" value="${jnlp.codebase}"/>
<attribute name="Application-Name" value="${app.name}"/>
</manifest>
Java 7 update 45 broke my Web Start SWT application might also have some interesting information
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With