String os = System.getProperty("os.name");
if(os.toLowerCase().startsWith("win")){
System.out.println(os + " can't gunzip");
}else{
}
java 判断当前系统
最新推荐文章于 2024-09-28 23:07:19 发布
String os = System.getProperty("os.name");
if(os.toLowerCase().startsWith("win")){
System.out.println(os + " can't gunzip");
}else{
}