public static KnownJavaVersions fromMajorVersion(final Integer majorVersionFamily, final Integer majorVersion) {
            for (final KnownJavaVersions version : KnownJavaVersions.values()) {
                if (version.isMajorVersion(majorVersionFamily, majorVersion)) {
                    return version;
                }
            }
            return UNKNOWN;
        }
Tries to determine a known version from the parsed major version components

@param majorVersionFamily
           Major version family of the JVM. Currently only 1 is known (i.e. '1.7')
@param majorVersion
           Major version of JVM (6, 7, 8, etc)
@return A {@link KnownJavaVersions} or {@link KnownJavaVersions#UNKNOWN} if unable to
        determine
aws-java-sdk-core/src/main/java/com/amazonaws/util/JavaVersionParser.java