You can use the following code snippet to obtain a list of all system properties:

 Enumeration list = System.getProperties().propertyNames();
  
  while(list.hasMoreElements()){
    System.out.println((String) list.nextElement());
  }