...
For local applications, the security manager can be installed using the flags as shown belownext. Note that the setSecurityManager
method must be replaced by getSecurityManager
in this case since the manager has already been installed using the command line flag.
...