Update required Java version to 1.7.