Configure project to Java7