标签:os ar java art as text class print 操作系统
Properties prop = System.getProperties();
String os = prop.getProperty("os.name");
System.out.println(os);
os.startWith("win") || os.startWith("Win")
标签:os ar java art as text class print 操作系统
原文地址:http://www.cnblogs.com/geminer/p/4054633.html