fix java for video