simplebatch1 code for jrjava