Class PlatformUtil


  • public class PlatformUtil
    extends Object
    Platform-specific utility functions.
    • Constructor Detail

      • PlatformUtil

        public PlatformUtil()
    • Method Detail

      • onMacOSX

        public static boolean onMacOSX()
        are we running on Mac OS X?
      • onLinux

        public static boolean onLinux()
        are we running on Linux?
      • onWindows

        public static boolean onWindows()
        are we running on Windows?
      • onIKVM

        public static boolean onIKVM()
        are we running on IKVM? see http://www.ikvm.net
      • getBootClassPathJars

        public static String[] getBootClassPathJars()
        get the jars in the boot classpath. TODO test on more JVMs
        Throws:
        IllegalStateException - if boot classpath cannot be found