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;

05-20 19:17