Use the major versions of java, not specific minor releases