java argument for applet or java web start which is not listed in specification -


jnlp file specification lists jvm arguments can applied java-vm-args, argument not in list, tried running argument ignored , jvm argument is

-djava.security.debug=sunpkcs11,pkcs11 

i tried adding in jnlp file attribute java-vm-args ,

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

but argument not applied applet or java web start, please advice can add above argument jvm in case of applets or java web start?

web start has limited set of parameters can passed on command line. below excerpt here

the property element defines system property available through system.getproperty and
system.setproperties methods. has 2 required attributes: name , value. example:

properties set in jnlp file set java web start after vm started before application invoked. properties considered "secure" properties , can passed -dkey=value arguments on java invocation command line.

the following properties considered "secure" , passed vm in way:   - sun.java2d.noddraw - javaws.cfg.jauthenticator    - swing.usesystemfontsettings - swing.metaltheme  - http.agent   - http.keepalive 

for untrusted application, system properties set in jnlp file set java web start if considered secure, or if property name begins "jnlp." or "javaws.".


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -