public static int getJdkVersion() {
        return Runtime.version().version().get(0);
    }
This class is an helper for tests: get a basic web client, parameters from an url, a formatted date, etc.

@author Jerome Leleu
@since 1.0.0
pac4j-core/src/test/java/org/pac4j/core/util/TestsHelper.java