java with pollock