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

前端 未结 6 1434
旧时难觅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:45

    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

    0 讨论(0)
  • 2021-02-04 12:48

    Quick (hack) alternative:

    1. Copy jdk1.8.0_131\bin\client to jdk1.8.0_131\bin\server
    2. If necessary, configure Elasticsearch JVM heap size in config/jvm.options
    0 讨论(0)
  • 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%
    
    0 讨论(0)
  • 2021-02-04 12:58

    I solved this by installing Java JRE 64-bit.

    And then setting the environment variable JAVA_HOME to this version. (In my case C:\Program Files\Java\jre1.8.0_131)

    0 讨论(0)
  • 2021-02-04 13:02

    I solved my issue editing that line of file jvm.options from:

    # force the server VM
    -server
    

    to:

    # force the server VM
    -client
    
    0 讨论(0)
  • 2021-02-04 13:10

    I faced this issue while running SonarQube Server on my local machine.

    If none of the above solution works just check the SonarQube Version you are using and the JDK version it runs on which is mentioned on the SonarQube site.

    Mine was SonarQube 7.9.3 https://docs.sonarqube.org/latest/requirements/requirements/

    Changing JDK 15.0.1 to 11.0.9 Fixed the issue.

    0 讨论(0)
提交回复
热议问题