Update project configuration for JDK8