On starting keycloak server using command .\kc.bat start-dev , i getting the following error:
.
..\keycloak-22.0.1\bin> .\kc.bat start-dev
Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit
However, im able to run keycloak20.0.5 .