update to use java 7