configure project for java 1.7