compile with java6