mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-08 15:59:56 -06:00
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