fix enforcer for jdk version

update min_jdk_version to 1.7 and remove the restriction for max_jdk_version.