added java and elastic search to cookbooks