[hotfix][docs] Fix typos in java.md

This closes #224.
1 file changed