Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Failed to run start-cli.bat on Windows10 #12309

Open
1 of 2 tasks
Yearner opened this issue Apr 9, 2024 · 1 comment
Open
1 of 2 tasks

[Bug] Failed to run start-cli.bat on Windows10 #12309

Yearner opened this issue Apr 9, 2024 · 1 comment

Comments

@Yearner
Copy link

Yearner commented Apr 9, 2024

Search before asking

  • 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!
Copy link

github-actions bot commented Apr 9, 2024

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant