Added java dependency to metadata.rb