bookkeeper
bookkeeper copied to clipboard
bin/bookkeeper failed on windows11
BUG REPORT
Describe the bug
I tried using git bash to run bin/bookkeeper on windows. But it failed.
error msg is like
$ bin/bookkeeper localbookie 1
[0.003s][error][logging] Error opening log file '/c/Users/user/Desktop/bookkeeper-all-4.18.0-SNAPSHOT-bin/bookkeeper-all-4.18.0-SNAPSHOT/logs/gc_10280.log': No such file or directory
[0.003s][error][logging] Initialization of output 'file=/c/Users/user/Desktop/bookkeeper-all-4.18.0-SNAPSHOT-bin/bookkeeper-all-4.18.0-SNAPSHOT/logs/gc_%p.log' using options 'filecount=5,filesize=64m' failed.
Invalid -Xlog option '-Xlog:gc=info:file=/c/Users/user/Desktop/bookkeeper-all-4.18.0-SNAPSHOT-bin/bookkeeper-all-4.18.0-SNAPSHOT/logs/gc_%p.log::filecount=5,filesize=64m', see error log for details.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
To Reproduce
Steps to reproduce the behavior:
- run mvn package on windows11
- untar bookkeeper-all-VersionNum.tar.gz
- open git bash terminal
- run
bin/bookkeeper localbookie 1
Additional context
it might be related to jvm or other differences between windows and linux.