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

bin/bookkeeper failed on windows11 #4356

Open
paressuex11 opened this issue May 9, 2024 · 1 comment
Open

bin/bookkeeper failed on windows11 #4356

paressuex11 opened this issue May 9, 2024 · 1 comment
Labels

Comments

@paressuex11
Copy link

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:

  1. run mvn package on windows11
  2. untar bookkeeper-all-VersionNum.tar.gz
  3. open git bash terminal
  4. run bin/bookkeeper localbookie 1

Additional context

it might be related to jvm or other differences between windows and linux.

@zhengxiongxie
Copy link

same

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

No branches or pull requests

2 participants