es batch start problem handling.

ES 5.4.1 version under the official website. Various startup problems directly point to the fact that the JAVA operating environment is not configured with JAVA_HOME. . Obviously with.

But let's force it.
Execute set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101\jre on the command line to
confirm that the path is correct.

C:\>echo %JAVA_HOME%


java -version

Then you can run the elasearch.bat normally.


There is a more convenient method:
add this setting directly to the BAT file.
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_101\jre can be worry-free every time.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326065146&siteId=291194637