• Post Reply Bookmark Topic Watch Topic
  • New Topic

-Xrunjcov option  RSS feed

 
Paul Reiners
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to run a java option as described in Bruce Eckel's book, _Thinking in Java_:

To get coverage testing information for SimpleDebugging.java, you use the command:



However, when I do that, I get the following error:

Error occurred during initialization of VM
Could not find agent library on the library path or in the local directory: jcov

Anybody know what's going wrong here?

Note that this is the error I get with the JDK 1.5. I also tried it with the JRE 1.4, but got a different (longer) error message.

Also, when I run



(i.e., without the option), everything works fine.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!