Elasticsearch installation : Error missing 'server' JVM at …jvm.dll

前端 未结 6 1450
旧时难觅i
旧时难觅i 2021-02-04 12:39

After having downloaded elasticsearch and unzipped it following the steps in this link:

Install Elastic Search on Windows

I am receiving the following error:

6条回答
  •  温柔的废话
    2021-02-04 12:48

    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%
    

提交回复
热议问题