Adds which and java to the dependencies.

Dependencies really out to be an object of names to versions for version
safety.