使用 JDK5 进行 btrace [英] btrace with JDK5

查看:58
本文介绍了使用 JDK5 进行 btrace的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以将 bTrace 与 JDK5 或更低版本一起使用吗?如果不是,JDK6 中提供的使 bTrace 工作的东西是什么?

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

我的理解是 btrace 在 Java Byte Code Instrumentation 上工作,它也适用于 JDK5.是否有一些被 bTrace 所利用的检测的额外功能?

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?

推荐答案

请参考:http://kenai.com/projects/btrace/forums/forum/topics/13112-running-BTrace-on-JRE

以下是他们的回答:

此场景未经测试.理论上,将 tools.jar 复制到默认类路径选择的位置就足够了(或为 BTrace 提供包含 tools.jar 的类路径).如果你能测试一下就太好了 - 我很想听到结果.

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.

这篇关于使用 JDK5 进行 btrace的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆