I am installing Elasticsearch 5.3.0 on a Windows server2012 R2. I installed the application on the shared mount E: drive. I installed Java and set the path and java_home environment variables on C: drive. When I execute the elasticseaerch.bat file I get error "Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME" . See below. I had Java installed in the Program Files directory but saw another post to not use directory with spaces in it so reinstalled in ProgramData directory. Still same error. Any Ideas appreciated, Thanks
Could not find any executable java binary. Please install java in your PATH or set JAVA_HOME
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)