updated java recipe