Add requirements for Java.