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

Windows logfx.bat doesn't work if directory has spaces #29

Closed
marinier opened this issue Feb 18, 2022 · 1 comment
Closed

Windows logfx.bat doesn't work if directory has spaces #29

marinier opened this issue Feb 18, 2022 · 1 comment
Labels

Comments

@marinier
Copy link

On my Windows 10 machine, the path to where logfx.bat is located has spaces and a dash in it. This causes logfx.bat to fail to start with this error :

Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

The fix is to to put quotes around the VM_OPTIONS, like this:

set VM_OPTIONS="-splash:%DIR%logfx-logo.png -Xms32m -XX:+UseSerialGC"

With that change, it starts up.

@renatoathaydes
Copy link
Owner

Silly mistake :( I don't use Windows often so never noticed that.
Will fix it soon. Thanks.

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
-