migrate code from jamtur01 TPROV ruby to java.