private static boolean isJRE11(){
  try {
    Class c=Class.forName("java.security.AccessController");
    return false;
  }
 catch (  Exception ex) {
  }
  return true;
}

private static boolean isJRE11 ( ) { try { Class c = Class . forName ( "java.security.AccessController" ) ; return false ; } catch ( Exception ex ) { } return true ; }
a simple jre ( java runtime environment ) 1 . 1 test
