You can display all properties and their settings on you console using following code
//Properties inherits form Hashtable and holds the
//Information of what the Propertie is called (key)
//and what the Propertie really is (value)
Properties props = System.getProperties();
//We want to loop through the entrys using the Keyset
Set
You can find an example here http://javacodingnerd.blogspot.de/2017/03/java-how-to-gather-system-properties.html