mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
When executing Keycloak Quarkus `bin/kc.sh`, `bin/kcadm.sh`, `bin/kcreg.sh`, the first java command found in `$PATH` is executed. The environment variables `JAVA` and `JAVA_HOME` are not available to specify the java command / JVM to execute. This commit updates `bin/kc.sh`, `bin/kcadm.sh`, and `bin/kcreg.sh` to support environment variables `JAVA` and `JAVA_HOME`. Resolves #11336