Article ID: 52496 - Last Review: October 7, 2016
RESOLUTION
PROBLEM
Installing Elasticsearch fails.
SYMPTOMS
In the MiCC.Installer.Core logfile you will see a line like the following:
Info: 2016-Aug-10 07:18:35.999 Setting JAVA_HOME to C:\Program Files\Java\jre1.8.0_91 ()
RESOLUTION
Elasticsearch has stored a JAVA_HOME variable for itself, and it has not updated after a java version update.
1. Open regedit.exe
2. Go to reg key HKLM/SOFTWARE/Wow6432Node/Apache Software Foundation/Procrun 2.0/elasticsearch-service-x64/Parameters/Java
3. Look at the value [Jvm]. It will be something like c:\Program Files\Java\jre1.8.0_101\bin\server\jvm.dll
4. Replace the value with %JAVA_HOME%\bin\server\jvm.dll
APPLIES TO
MiCC 8.X
Keywords: elasticsearch java java_home install