private final static void checkEnvironment ( ) { // Check java support.! boolean javaSupport = EnvUtil . isJDK7OrHigher ( ) ; if ( ! javaSupport ) { Log . error ( "Your Java version (" , EnvUtil . getJavaersion ( ) , ") is not supported for Audit4j. " , ErrorGuide . getGuide ( ErrorGuide . JAVA_VERSION_ERROR ) ) ; throw new InitializationException ( "Java version is not supported." ) ; } }
Check environment .