cd /opt/keycloak/bin ./kc.sh start-dev --http-port=8080
Even with a clean download, users frequently encounter these problems: keycloak 18.0.2 download
The most direct source: 👉 https://github.com/keycloak/keycloak/releases/tag/18.0.2 cd /opt/keycloak/bin
To run in development mode:
Do not download the source code archives ( Source code (zip) ); instead, get the pre-built distribution. keycloak 18.0.2 download
Set the JAVA_HOME environment variable to point to a Java 11 JDK before running kc.sh . Keycloak 18.0.2 does not officially support Java 17 (that came in version 19+).