fix java recipe