Class OSHelper


  • public class OSHelper
    extends java.lang.Object
    Helper class for dealing with operating system detection.
    • Constructor Detail

      • OSHelper

        public OSHelper()
    • Method Detail

      • isMacOSX

        public static boolean isMacOSX()
        Returns:
        true if this VM is running on Mac OS X
      • isWindows

        public static boolean isWindows()
        Returns:
        true if this VM is running on Windows
      • isLinux

        public static boolean isLinux()
        Returns:
        true if this VM is running on a Linux distribution
      • isJdk6Above

        public static boolean isJdk6Above()
      • isJdk7Above

        public static boolean isJdk7Above()
      • isJdk8Above

        public static boolean isJdk8Above()
      • isJdk8u20Above

        public static boolean isJdk8u20Above()