fix java toolwrapper examples