compile with and for java 6