iotdb
iotdb copied to clipboard
[Bug] Failed to run start-cli.bat on Windows10
Search before asking
- [X] I searched in the issues and found nothing similar.
Version
1.3.0
Describe the bug and provide the minimal reproduce step
1 Run cmd in the sbin directory 2 exec start-cli.bat -h 192.168.0.4 -p 6667 -u root -pw root
What did you expect to see?
---------------------
Starting IoTDB Cli
---------------------
_____ _________ ______ ______
|_ _| | _ _ ||_ _ `.|_ _ \
| | .--.|_/ | | \_| | | `. \ | |_) |
| | / .'`\ \ | | | | | | | __'.
_| |_| \__. | _| |_ _| |_.' /_| |__) |
|_____|'.__.' |_____| |______.'|_______/ version 1.3.0 (Build: d1326c5)
What did you see instead?
-h 127.0.0.1 -p 6667 -u root -pw root java -ea -DIOTDB_HOME="E:\Programming software\apache-iotdb-1.3.0-all-bin" -cp org.apache.iotdb.cli.Cli -h 127.0.0.1 -p 6667 -u root -pw root 用法: java [-options] class [args...] (执行类) 或 java [-options] -jar jarfile [args...] (执行 jar 文件)
Anything else?
I have found the cause of the problem. about 60 lines. change if EXIST %IOTDB_HOME%\lib ... to if EXIST "%IOTDB_HOME%\lib" ...
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!