Update the java configuration of Eclipse project. If you do not have JAVA 7 installed just click on the project and update the build path, but execlude the .settings from git commits.
Adding close scanner.