Compile code with Java 6