Added Java dependencies.