Jacoco - which version works with openjdk version "1.8.0_191-1-redhat"

27 views
Skip to first unread message

staine...@awatapu.school.nz

unread,
May 12, 2021, 12:11:46 AM5/12/21
to JaCoCo and EclEmma Users
Hi there,

I am trying version 0.7.9. I am using it with Guidewire, which is kind of written on top of Java (I have used their instructions for installing it) and i am running into the following error:

Running GUnit class: Gradle Test Run :modules:configuration:test
FATAL ERROR in native method: processing of -javaagent failed
                                                              java.lang.ClassNotFoundException: org.jacoco.agent.rt.internal_8ff85ea.PreMain

Any advice would be helpful.

Thanks,
Cath

Evgeny Mandrikov

unread,
May 12, 2021, 3:30:33 AM5/12/21
to JaCoCo and EclEmma Users
Hi,

Seems that you use Gradle and symptoms of your problem look similar to https://github.com/gradle/gradle/issues/2659
you should make sure that Gradle correctly passes "-javaagent" and system property "user.dir" to JVM with tests.
Reply all
Reply to author
Forward
0 new messages