Default to Java6 for java code