Standardize build environment on Java 7 now that Java 6 is beyond EOL.