From 78c220589e4e317523268be8401647014fbe95b4 Mon Sep 17 00:00:00 2001 From: kimchy Date: Tue, 9 Feb 2010 15:09:11 +0200 Subject: [PATCH] fix windows script to use correct env var (backported and updated the 0.4.0 release zip) --- bin/elasticsearch.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"