package com.tianze.jmsn.test;
import java.util.*;
public class SystemProperties
{
public static void main(String[] args)
{
Properties props = System.getProperties();
List keyList = new ArrayList();
keyList.addAll( props.keySet());
Collections.sort(keyList);
for(int i=0;i<keyList.size();i++){
String key = (String)keyList.get(i);
System.out.println(key+"="+props.getProperty(key));
}
System.out.println( new Date() );
try{
Thread.sleep(60*1000);
}catch(Exception e){
}
System.out.println( new Date() );
}
}