标签:
import java.util.Map;
public class ShowEnvironmentVariables {
public static void main(String[] args) {
for (Map.Entry entry : System.getenv().entrySet()) {
System.out.println(entry.getKey() + ": " + entry.getValue());
}
}
}
标签:
原文地址:http://www.cnblogs.com/aWay01/p/4907497.html