title: Elastic search cannot find JAVA_HOME
body: <p>I am trying to run elasticsearch.bat on my local windows machine after downloading the zip file on Windows. I get error:</p>
  
  <pre><code>could not find java; set JAVA_HOME or ensure java is in PATH
  </code></pre>
  
  <p>I already set JAVA_HOME and also put it in the PATH and I can type 'java' in my command line and see all the options. So why is elastic search not able to find it?</p>