When I was running the UserGuide offline example, on the delivered emma package examples, I received the message below. Any ideas what I should do?
alertqdi-197% java -cp outinstr:out Main
Exception in thread "main" java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT
at <Unloaded Method>
Just before I succesfully ran the following:
alertqdi-196% java -cp ../lib/emma.jar emma instr -d outinstr -ip out
EMMA: processing instrumentation path ...
EMMA: instrumentation path processed in 457 ms
EMMA: [3 class(es) instrumented, 0 resource(s) copied]
EMMA: metadata merged into [/export/home/dnuss/emma-2.0.4019/examples/coverage.e
m] {in 28 ms}
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
When I was running the UserGuide offline example, on the delivered emma package examples, I received the message below. Any ideas what I should do?
alertqdi-197% java -cp outinstr:out Main
Exception in thread "main" java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT
at <Unloaded Method>
Just before I succesfully ran the following:
alertqdi-196% java -cp ../lib/emma.jar emma instr -d outinstr -ip out
EMMA: processing instrumentation path ...
EMMA: instrumentation path processed in 457 ms
EMMA: [3 class(es) instrumented, 0 resource(s) copied]
EMMA: metadata merged into [/export/home/dnuss/emma-2.0.4019/examples/coverage.e
m] {in 28 ms}
How about adding emma.jar to the classpath when running the instrumented version of Main?