// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.Properties;
import java.util.Map.Entry;

public class PropDump {
    public static void main(String[] args) {
        Properties p = System.getProperties();
        for(Entry<Object, Object> e : p.entrySet()) {
            System.out.println(e.getKey() + " = " + e.getValue());
        }
    }
}
