Better Java example in the readme.