Skip to content

Commit

Permalink
fix windows script to use correct env var (backported and updated the…
Browse files Browse the repository at this point in the history
… 0.4.0 release zip)
  • Loading branch information
kimchy committed Feb 9, 2010
1 parent 7004a9e commit 78c2205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/elasticsearch.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 78c2205

Please sign in to comment.