title: path.home is not configured in elasticsearch
body: <p>Exception in thread "main" java.lang.IllegalStateException: path.home is not configured
      at org.elasticsearch.env.Environment.(Environment.java:101)
      at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:81)
      at org.elasticsearch.node.Node.(Node.java:128)
      at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
      at org.elasticsearch.node.NodeBuilder.node(NodeBuilder.java:152)
      at JavaAPIMain.main(JavaAPIMain.java:43)</p>
  
  <p>//adding document to elasticsearch using java</p>
  
  <pre><code>    Node node = nodeBuilder().clusterName("myapplication").node();
  Client client = node.client();
  
          client.prepareIndex("kodcucom", "article", "1")
                .setSource(putJsonDocument("ElasticSearch: Java",
                                           "ElasticSeach provides Java API, thus it executes all operations " +
                                            "asynchronously by using client object..",
                                           new Date(),
                                           new String[]{"elasticsearch"},
                                           "Hüseyin Akdoğan")).execute().actionGet();
  </code></pre>