recipe with java