Configure ubuntu to use Java 7, which is needed by the CDA generator.