Revert "Build on Java 6."

This reverts commit 83abbcc37bfe6d6469770f6a1cc923be778677b4.