Update README - add java example