With Java SE 1.5, you can use the clearProperty method of System class if you have write PropertyPermission on the key.