After having downloaded elasticsearch and unzipped it following the steps in this link:
Install Elastic Search on Windows
I am receiving the following error:
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.
Note: I also had to install the JDK8 as suggested in this resolution
Should I change something in the .config file? Maybe this line?
# force the server VM (remove on 32-bit client JVMs)
-server
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With