diff --git a/bin/elasticsearch.bat b/bin/elasticsearch.bat index 9cec02fc953..0584b65c9f8 100644 --- a/bin/elasticsearch.bat +++ b/bin/elasticsearch.bat @@ -21,7 +21,7 @@ set JAVA_OPTS=^ -XX:+CMSParallelRemarkEnabled^ -XX:+HeapDumpOnOutOfMemoryError -set ES_CLASSPATH=$CLASSPATH;"%ELASTICSEARCH_HOME%/lib/*" +set ES_CLASSPATH=$CLASSPATH;"%ES_HOME%/lib/*" set ES_PARAMS=-Delasticsearch -Des-foreground=yes -Des.path.home="%ES_HOME%" "%JAVA_HOME%\bin\java" %JAVA_OPTS% %ES_JAVA_OPTS% %ES_PARAMS% -cp "%ES_CLASSPATH%" "org.elasticsearch.bootstrap.Bootstrap"