1 Reply Latest reply: Mar 18, 2014 1:38 PM by user11138293 RSS

    specified in jnlp jvm argument but not   applied   by browser

    user11138293

      jlnp file specifies passing passing vm arguments   using java-vm-arguments attribute , it also provides list of acceptable arguments  as mentioned here http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/syntax.html.

      In my case , jvm argument  is   -Djava.security.debug=sunpkcs11,pkcs11. I added   this to jlnp file but this  is never loded by the browser jvm.  This is not mentioned in the above link so can this argument be passed to an applet?

      here is my jnlp file



      <pre>

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

      <jnlp spec="1.0+" codebase="" href="">

          <information>

              <title>Applet</title>

              <vendor>ARTMS</vendor>

          </information>

          <resources>

              <j2se version="1.7+"  java-vm-args="-Djava.security.debug=sunpkcs11,pkcs11"/>

              <jar href="dsapplet.jar"/>

       

       

          </resources>

          <property name="java.security.debug" value="sunpkcs11,pkcs11"/>

          <applet-desc

               name="Applet"

               main-class="com.service.TestApplet"

               width="900"

               height="300">

                   <param name="java_arguments" value="-Djava.security.debug=sunpkcs11,pkcs11"/>

           </applet-desc>

        <security>

        <all-permissions/>

        </security>

           <update check="background"/>

      </jnlp>

      </pre>