Update metadata.rb

Depends on cookbook java, but supporse there's without problem with java 1.10.0 and later.
Merge pull request #6 from saitara/patch-1

Set java dependencies >= 1.10.0.