import java.util.Iterator;
import java.util.Properties;
import java.util.Set;
import java.util.Map.Entry;
public class SystemInfo {
public static void main(String[] args){
String os = System.getProperty("os.name");
System.out.println(os);
Properties ps = System.getProperties();
Set<Entry<Object, Object>> set = ps.entrySet();
Iterator<Entry<Object, Object>> it = set.iterator();
while(it.hasNext()){
Entry<Object, Object> e = it.next();
System.out.println(e.getKey() + "=" + e.getValue());
}
}
}