Repository navigation
Keycloak on windows using kc.bat returns error "unexpected at this..." #19219
Unanswered
AmsalkhirAli
asked this question in
Q&A
Replies: 2 comments 4 replies
|
I just tried a path with a space on my Windows machine using a recent nightly build and it worked fine. Maybe try the nightly? |
3 replies
|
@AmsalkhirAli Can you open a bug report for this? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I downloaded the Keycloak zip and followed the instructions in the documentation to run in windows. When running in a folder without spaces keycloak starts without any issue. but when putting the keycloak folder in c:\program files(x86)\ I can not start keycloak anymore using kc.bat
I get the following error
"JAVA_OPTS already set in environment; overriding default settings with values: -Dprogram.name=kc.bat -Dprogram.name=kc.bat -Dprogram.name=kc.bat -Dprogram.name=kc.bat -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Dfile.encoding=UTF-8"
\PID\keycloak-20.0.3\keycloak-20.0.3\bin.." -Djboss.server.config.dir="C:\Program was unexpected at this time.
Someone knows how to fix this please?
All reactions