import java.util.Properties Properties properties = System.getProperties(); properties.list(System.out);