public static String getAllUsersApplicationDataDirectory(final String product) {
    return getAllUsersApplicationDataDirectory()
        + (isRunningWindows() || isRunningMacOSX() ? product : Ascii.toLowerCase(product))
        + File.separator;
  }
Determines the machine-wide application data directory for the specified product in a
platform-independent way. Note that the directory returned by this method is usually not
writable for users without administrative privileges, even on Windows. The path returned by
this method always contains a trailing path separator.

@param product the product name to use when building the directory name
@return the machine-wide application data directory
java/zylib/src/main/java/com/google/security/zynamics/zylib/system/SystemHelpers.java