Add java dependency for Elasticsearch