In Windows when I put sqlcl in a path with spaces I get the following error:
C:\has spaces\sqlcl\bin>sql -v
Error: Could not find or load main class spaces\sqlcl\bin
Caused by: java.lang.ClassNotFoundException: spaces\sqlcl\bin
It works fine in a path with no spaces:
C:\no_spaces\sqlcl\bin>sql -v
SQLcl: Release 25.3.2.0 Production Build: 25.3.2.317.1117
This is becoming a challenge for us while trying to incorporate SQLcl into our existing deployment process where it would be convenient to download the tool into the working directory, which happens to have spaces in it.