It is unclear why this happens with Java 11 version of OpenJ9 only. Java 17 works.
The compiler is forked as Gradle runs with Temurin, J9 is used via RUNTIME_JAVA_HOME. Will dig tomorrow. Maybe Dawid has an idea? It looks like the alternate runtime is correctly detected, but why is Gradle passing compiler runzine options without -J in just this case. In Main the same works where Gradle runs with Java17-Temurin and J9 is used as runtime. Uwe Am 12. November 2023 18:37:04 MEZ schrieb Policeman Jenkins Server <jenk...@thetaphi.de>: >Build: https://jenkins.thetaphi.de/job/Lucene-9.x-Linux/14015/ >Java: 64bit/openj9/jdk-11.0.20 -XX:+UseCompressedOops -Xgcpolicy:balanced > >No tests ran. -- Uwe Schindler Achterdiek 19, 28357 Bremen https://www.thetaphi.de