Search code examples
javatracejava-6java-5btrace

btrace with JDK5


Can we use bTrace with JDK5 or lesser versions? If not, what is that things which is provided in JDK6 that makes bTrace work?

My understanding is that btrace working on Java Byte Code Instrumentation which was there for JDK5 as well. is there some extra features of instrumentation which is being exploit by bTrace?


Solution

  • Please refer here: http://kenai.com/projects/btrace/forums/forum/topics/13112-running-BTrace-on-JRE

    Here is what have they answered:

    this scenario is not tested. In theory, it should suffice to copy tools.jar to a location picked by the default classpath (or provide BTrace with the classpath containing tools.jar). It would be great if you could test it out - I would love hearing the results.