btrace with JDK5

自闭症网瘾萝莉.ら 提交于 2019-12-14 03:46:34

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/6596493/btrace-with-jdk5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!