Include `java` as a dependency.