Update readme.md

update java command examples