fix classpath env var in windows
This commit is contained in:
parent
c15a612b8a
commit
7df3b5c3fd
|
@ -20,7 +20,7 @@ set JAVA_OPTS=^
|
|||
-XX:+CMSParallelRemarkEnabled^
|
||||
-XX:+HeapDumpOnOutOfMemoryError
|
||||
|
||||
set ES_CLASSPATH=$CLASSPATH;%ES_HOME%/lib/elasticsearch-@ES_VERSION@.jar;%ES_HOME%/lib/*;%ES_HOME%/lib/sigar/*
|
||||
set ES_CLASSPATH=%CLASSPATH%;%ES_HOME%/lib/elasticsearch-@ES_VERSION@.jar;%ES_HOME%/lib/*;%ES_HOME%/lib/sigar/*
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue