Enumeration en = pp.keys(); while(en.hasMoreElements()){ String key = (String)en.nextElement(); System.out.println(pp.getProperty(key)); }