java判断当前系统是win还是linux
private static final boolean isWin = System.getProperty("os.name").toLowerCase().contains("win");
private static final boolean isLinux = System.getProperty(“os.name”).toLowerCase().indexOf(“linux”) >= 0;
private static final boolean isWin = System.getProperty("os.name").toLowerCase().contains("win");
private static final boolean isLinux = System.getProperty(“os.name”).toLowerCase().indexOf(“linux”) >= 0;