Hi, I am able to execute my client from command prompt using : java -Djavax.net.ssl.trustStore=myKeyStore -Djavax.net.ssl.trustStorePassword=myPassword MyClient But now, I want to deploy MyClient using WebStart. any idea on how i can configure the above -D option in JNLP file? thanks for any help.
The suggested approach (to add the property to the resources section in the JNLP file) in Java 6 only works for "secure" properties. Properties are considered secure in this context if they start with "javaws." or "jnlp." -- so the example doesn't work -- at least not in Java 6. In Java 5, I think it does work, but if your user has Java 6 instead, (s)he'll be in trouble.
In my case I've solved it by passing the property on the command line: > javaws -J-Dcom.my.prop=hello thefile.jnlp