updated java metadata.rb
updated java metadata.rb