1 Reply Latest reply on Oct 23, 2013 7:01 AM by 892235

    APPLICATION_TEMPLATE.JNLP doesn't work with java/j2se tags in 7u45?  Crashes VM

    892235

      I'm running 7u45 and decided to try and implement the APPLICATION_TEMPLATE.JNLP as the number of warnings were starting to be bothersome.

      However, I found that I can no longer specify the java or j2se tags as part of resources.  If I do, once I pass the security warning the VM crashes.  This applies to every computer we've tested on (10+).

       

      This Works (with matching runtime jnlp):

      <?xml version="1.0" encoding="UTF-8" ?>

      <jnlp spec="6.0.10+" version="*" href="my.jnlp" codebase="*">

        <information>

          <title>*</title>

          <vendor>Me</vendor>

          <homepage>*</homepage>

          <description>*</description>

          <icon href="*" />

          <icon href="*" kind="splash" />

          <icon href="*" kind="shortcut" />

        </information>

        <security>

          <all-permissions />

        </security>

        <update check="always" />

        <resources>

          <jar href="my.jar" main="true" version="*"/>

          <property name="jnlp.versionEnabled" value="true"/>

        </resources>

        <application-desc main-class="MyClass" name="*" >

          <argument>*</argument>

        </application-desc>

      </jnlp>

       

      ------------------

      While this crashes the VM  (note the additional resources/java tag):

       

      <?xml version="1.0" encoding="UTF-8" ?>

      <jnlp spec="6.0.10+" version="*" href="my.jnlp" codebase="*">

        <information>

          <title>*</title>

          <vendor>Me</vendor>

          <homepage>*</homepage>

          <description>*</description>

          <icon href="*" />

          <icon href="*" kind="splash" />

          <icon href="*" kind="shortcut" />

        </information>

        <security>

          <all-permissions />

        </security>

        <update check="always" />

        <resources>

          <java version="1.7+" java-vm-args="-Xnosplash -Xms256m" />

          <jar href="my.jar" main="true" version="*"/>

          <property name="jnlp.versionEnabled" value="true"/>

        </resources>

        <application-desc main-class="MyClass" name="*" >

          <argument>*</argument>

        </application-desc>

      </jnlp>

       

      Is this not supported when using APPLICATION_TEMPLATE.JNLP?  Can't find any documentation on which tags are/aren't supported as the spec is pretty vague on which ones may be backlisted.