SystemInfo { public static int javaVersion() { return JAVA_VERSION; } private  SystemInfo(); static int javaVersion(); static String hostname(); static boolean jettyAlpnOptionalOrAvailable(); static int pid(); @Nullable static Inet4Address defaultNonLoopbackIpV4Address(); static long currentTimeMicros(); static OsType osType(); static boolean isLinux();  }
@Test public void javaVersion() { assertThat(SystemInfo.javaVersion()).isGreaterThanOrEqualTo(8); }