Use Java 6 for maximum compatibility