Force the ubuntu install on Java 7, which is needed by the CDA generator.

Running the generator with Java 6 will cause a cryptic error complaining about
an unsupported major/minor version 51.0.