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;