Moved project to java compiler 1.7