must use java 1.7