[Java]: Added scaffolding for running OTF example.