I want to pass 2 dynamic VM argument, how?
to pass one dynamic argument i use:
java -Dxxxxxxxx=xxxx main
but how to pass more than 1 argument.
Thanks.
I want to pass 2 dynamic VM argument, how?
to pass one dynamic argument i use:
java -Dxxxxxxxx=xxxx main
but how to pass more than 1 argument.
Thanks.
From Java:
-Dproperty=value
java -Dmydir="some string" SomeClass
In your command line:
the second argument
-Djava.security.policy=. chp02.policy
contains a space.You need to enclose with " or correct the argument if the space is a mistake.