I am trying to run elasticsearch.bat on my local windows machine after downloading the zip file on Windows. I get error:
could not find java; set JAVA_HOME or ensure java is in PATH
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?