Can compile with java 7 if javaHome property is set