After having downloaded elasticsearch and unzipped it following the steps in this link:
Install Elastic Search on Windows
I am receiving the following error: >
I had same issue:
Error: missing 'server' JVM at 'C:\Program Files (x86)\Java\jre1.8.0_131\bin\server\jvm.dll'. Please install or use the JRE or JDK that contains these missing components.
It got resolved just by setting java_home:
SET JAVA_HOME="C:\Program Files (x86)\Java\jdk1.8.0_131"
SET PATH=%JAVA_HOME%\bin;%PATH%