If I need to use a SecurityManager, How do I include the location of the policy file when starting the program, without command line inputs ?
Can I change my code to incorporate it? Or Do I have to have it as a Command Line input when I run the code..like the following;
java -Djava.security.policy=java.policy client.URLClient localhost
Would the latter be a bad way of doing this?