Java receipe