adding java recipe