The parameter "includes" of JaCoCo agent is not about names of files, but about names of classes, i.e.
for the following Example.java
class Example {
public static void main(String[] args) {
System.out.println("Hello");
}
}
execution of
javac Example.java
java "-javaagent:jacocoagent.jar=includes=*.class" -cp . Example
will produce jacoco.exec of small size without information about any classes and
java -jar jacococli.jar execinfo jacoco.exec
will show this
[INFO] Loading exec file jacoco.exec.
CLASS ID HITS/PROBES CLASS NAME
Session "Godins-M1-MacBook-Pro-a4a92418": Thu Apr 20 09:55:19 CEST 2023 - Thu Apr 20 09:55:19 CEST 2023
and in this case generated report shows "No execution data available".
> Except for performance optimization or technical corner cases this option is normally not required.
The default is to include all classes, so execution of
java "-javaagent:jacocoagent.jar" -cp . Example
java -jar jacococli.jar execinfo jacoco.exec
produces
[INFO] Loading exec file jacoco.exec.
CLASS ID HITS/PROBES CLASS NAME
Session "Godins-M1-MacBook-Pro-1cf6c872": Thu Apr 20 10:59:40 CEST 2023 - Thu Apr 20 10:59:40 CEST 2023
d37513b16b860f3e 1 of 2 Example
From the above, quite doubtful that you have exact same settings or that you're receiving the expected results on RHEL 7.
Also could be noted that I have no idea why you have
-Djacoco.dump.on.exit=true -Djacoco.debug=true -Djacoco.classDumpDir=/prd/im/bin/IMGUI/CodeCoverage/Testdump/
JaCoCo agent doesn't use them and has never used them.
Regards,
Evgeny