Changed Java compiler version from Java1.6 to Java 1.8