Fix java recipe