How to run jar file
Hello everyone
I'm learning to user JSSE and trying to develop a simple server-client program using SSL. I notice that if you need to give parameters to java command to run it. For example, if you follow the example code given at
http://tvilda.stilius.net/java/java_ssl.php
then you need to type this to run the program
java -Djavax.net.ssl.keyStore=mySrvKeystore -Djavax.net.ssl.keyStorePassword=123456 EchoServer
I suppose I can make a .bat file to include the above command and start the programs. But I want to distribute my programs in jar files, where one can just double click to run them. Is there anyway to use SSL and still be able to put your class files in a jar file and run it just by double click on it? Is it possible to put those parameters in the manifest file?
Thank you very much for your time! Any help is greatly appreciated!

