public static boolean isRunningMacOSX() {
    return System.getProperty("os.name").startsWith("Mac");
  }
Determines whether the program is running in Windows.

@return true, if the program is running in Windows, false otherwise.
java/zylib/src/main/java/com/google/security/zynamics/zylib/system/SystemHelpers.java