use java 1.7 instead of 1.6