Is there a better way to print system properties from command line? As we can set the property e.g.
java -D<name>=<value> //set a system property
Without writing a class to do that?
If not possible, why is it not possible/feasible/good to do that from the command line ?
System.getProperty("java.ext.dirs")
.