Compile java classes for Java 6.