Updated Build to Java 8

update project to Java 8