build: Bump java version to 1.7.