Attempt to fix build problems by adjusting test compile Java version.