文件名,目录名或卷标语法不正确,启动elasticsearch.bat时出现此错误?

时间:2014-03-30 19:03:08

标签: batch-file cmd elasticsearch

我正在尝试执行elasticsearch的批处理文件。我收到此错误The filename, directory name, or volume label syntax is incorrect.     我在没有@echo的情况下运行它,看到这个bat文件"%JAVA_HOME%\bin\java" %JAVA_OPTS% %ES_JAVA_OPTS% %ES_PARAMS% %* -cp "%ES_CLASSPATH%" "org.elasticsearch.bootstrap.Elasticsearch"产生错误。

在命令行上,它尝试执行E:\Toshiba\elasticsearch-1.0.1\bin>"C:\Program Files (x86)\Java\jdk1.6.0_06\bin;C:\Program Files (x86)\Java\jdk1.6.0_06\bin\java" -Xms256m -Xmx1g -Xss256k -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des-foreground=yes -Des.path.home="E:\Toshiba\elasticsearch-1.0.1" -cp ";E:\Toshiba\elasticsearch-1.0.1/lib/elasticsearch-1.0.1.jar;E:\Toshiba\elasticsearch-1.0.1/lib/*;E:\Toshiba\elasticsearch-1.0.1/lib/sigar/*" "org.elasticsearch.bootstrap.Elasticsearch""C:\Program Files (x86)\Java\jdk1.6.0_06\bin;C:\Program Files (x86)\Java\jdk1.6.0_06\bin\java" -Xms256m -Xmx1g -Xss256k -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des-foreground=yes -Des.path.home="E:\Toshiba\elasticsearch-1.0.1" -cp ";E:\Toshiba\elasticsearch-1.0.1/lib/elasticsearch-1.0.1.jar;E:\Toshiba\elasticsearch-1.0.1/lib/*;E:\Toshiba\elasticsearch-1.0.1/lib/sigar/*" "org.elasticsearch.bootstrap.Elasticsearch"

我从E:\ Toshiba \ elasticsearch-1.0.1 / lib运行它,其中elasticseach.bat在那里

先谢谢

0 个答案:

没有答案