trying to change to use java 1.7