diff --git a/modules/kogito-openjdk/17-headless/module.yaml b/modules/kogito-openjdk/17-headless/module.yaml index ebdf54bd5..db55c4fe0 100644 --- a/modules/kogito-openjdk/17-headless/module.yaml +++ b/modules/kogito-openjdk/17-headless/module.yaml @@ -35,6 +35,9 @@ envs: value: "openjdk" - name: "JAVA_VERSION" value: "17" + # Same env set by the openjdk image for modules that won't use it + - name: JBOSS_CONTAINER_JAVA_JVM_MODULE + value: /opt/container/java/jvm execute: - script: clean.sh diff --git a/modules/kogito-openjdk/17/module.yaml b/modules/kogito-openjdk/17/module.yaml index 7a7e7349d..6cd287ddf 100644 --- a/modules/kogito-openjdk/17/module.yaml +++ b/modules/kogito-openjdk/17/module.yaml @@ -35,6 +35,9 @@ envs: value: "openjdk" - name: "JAVA_VERSION" value: "17" + # Same env set by the openjdk image for modules that won't use it + - name: JBOSS_CONTAINER_JAVA_JVM_MODULE + value: /opt/container/java/jvm execute: - script: clean.sh