我们可以将bTrace与JDK5或更低版本一起使用吗?如果没有,那么JDK6中提供的使bTrace工作的东西是什么?
我的理解是btrace也在使用Java Byte Code Instrumentation,它也适用于JDK5.是否有一些额外的仪器功能正在被bTrace利用?
解决方法:
请参考这里:http://kenai.com/projects/btrace/forums/forum/topics/13112-running-BTrace-on-JRE
以下是他们回答的内容:
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.