Menu

Failure on offline UserGuide example

2004-06-18
2004-06-18
  • Nobody/Anonymous

    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}

     
    • Vlad Roubtsov

      Vlad Roubtsov - 2004-06-18

      How about adding emma.jar to the classpath when running the instrumented version of Main?

       

Log in to post a comment.