Specify java dependency in metadata.rb

Fixes #9