compile with java 1.7