Preparing Java examples for adding OTF decoding.