How to set system property values in NetBeans?
问题 I 'm following a tutorial about JAAS Authentication here and when it shows how to run the example code, says that the compiled class should be launched with a standard option of Java launcher which is -Djava.security.auth.login.config==sample_jaas.config . In this way a system property will be set: java -Djava.security.auth.login.config==sample_jaas.config sample.SampleAcn I did it with this way, but now I want to run the code in NetBeans too. Since NetBeans use Ant I think specifying these