Update README.md

Fixed a typo in the Java example.