fix java sample code