Add Java to the list of runtime dependencies.