Properties props = System.getProperties();Enumeration enum = props.propertyNames();for(;enum.hasMoreElenments();)
{
String propName = (String)enum.nextElement();
String proValue = (String)props.get(propName);
}列出了全部属性
{
String propName = (String)enum.nextElement();
String proValue = (String)props.get(propName);
}列出了全部属性
while.....
1e21恨蛊惑。。佩服
打开cmdecho %classpath%
这样子算不算?