-
Notifications
You must be signed in to change notification settings - Fork 47
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
Java paths with spaces won't work on Windows (*.bat files) #15
Comments
The cleanest generic option is to use the system environment variable JAVA_HOME pointing to the bin folder. Then in the batch files just "start javaw.exe". If you have another location, just put the full path in the .bat files. |
In case you would decide to change
The empty |
With the changes in commit: It would still fail if |
Thanks gregid. I updated the Wiindows batch files accordingly
…On Sat, Jul 9, 2022 at 3:51 AM gregid ***@***.***> wrote:
With the changes in commit:
d905065
<d905065>
It would still fail if %JAVAFX_HOME% contain spaces
—
Reply to this email directly, view it on GitHub
<#15 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6MX4B5O43DRWRBPZGBQITVTFKUFANCNFSM53CFUVVA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
None of the *.bat files will work if the %JAVA_HOME% and %JAVAFX_HOME% paths include spaces on Windows (e.g. most common
C:\Program Files\JAVAHOME\
)The error will be
System Windows cannot find C:\Program
These paths should be wrapped in double quotes.
The text was updated successfully, but these errors were encountered: