I am running into error where elastic search won't start due to JAVA_HOME not being found. I have installed 64 bit JDK and JRE for windows server 2012 R2. I can see that JAVA_HOME and PATH are shown correctly. java-help does work in the elasticsearch bin directly without issues
However running elasticSearch bat gives me following error .
Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME
Running Java_home :
Would appreciate any help around this.