How to clear system property?
System.clearProperty(String key) method enables you to remove a system property. The key should not be an empty string or a null value which will cause a
IllegalArgumentException and a
It also check when a
SecurityManager exists and you don't have a write permission to the system property a
SecurityException is going to be thrown.