public class pp{
public static void main(String args[]){
String os=System.getProperty("os.name");
System.out.println(os);
}
}
JAVA怎么检测程序当前运行的系统是linux还是windows
猜你喜欢
转载自kent-mu.iteye.com/blog/1902927
今日推荐
周排行