fix java interface to use predict