Changed project to require java 7