Class SystemUtils


  • public final class SystemUtils
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Logger LOGGER  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SystemUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static java.lang.String getJavaVendor()  
      static boolean isGraalVm()
      Checks if the current runtime is GraalVM.
      static boolean isOsAndroid()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        private static final Logger LOGGER
    • Constructor Detail

      • SystemUtils

        private SystemUtils()
    • Method Detail

      • getJavaVendor

        private static java.lang.String getJavaVendor()
      • isOsAndroid

        public static boolean isOsAndroid()
      • isGraalVm

        public static boolean isGraalVm()
        Checks if the current runtime is GraalVM.

        See ImageInfo.PROPERTY_IMAGE_CODE_KEY.

        Returns:
        true if the current runtime is GraalVM, false otherwise.