Add requirements for Java 8