Changed project to java 8.