Updated JDK dependency to Java 8.