java -D command-line option

-D command-line option explained

Can be used to set an environment value on a CLI which is the accessible from code by :
String value = System.getProperty("key", "defaultvalue");

No comments:

Post a Comment