Java: Executing cmd commands when running java file in Eclipse? -


im doing ssl socket programming in java, while running program, have in cmd executing following commamd tell keystore located:

:java -djavax.net.ssl.keystore=.keystore -djavax.net.ssl.keystorepassword=password sslserver

instead of

java sslserver

is there way can execute above commands directly in eclipse rather in cmd? commands go arguments(in run configuration)? have tried did not work.

in run configuration there section vm arguments. these go there:

-djavax.net.ssl.keystore=.keystore  -djavax.net.ssl.keystorepassword=password 

enter image description here


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -