After having downloaded elasticsearch and unzipped it following the steps in this link:
Install Elastic Search on Windows
I am receiving the following error: >
Set your JAVA_HOME
environment variable to point to the path of your JDK 8 installation.
You can do this on the command line as the example below illustrates:
SET JAVA_HOME="C:\Program Files (x86)\Java\jdk1.8.0_131"
SET PATH=%JAVA_HOME%\bin;%PATH%
Confirm that the correct version of the JDK is in your PATH
with:
javac -version