如何查找Java类所属的Jar [英] How to find Jar to which an Java class belongs

查看:208
本文介绍了如何查找Java类所属的Jar的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道 TimedWindowEvent 类属于下载JDK / JRE时的JAR。是否有任何通用方法使用Eclipse或任何其他工具搜索特定类所属的Jar。现在我必须在 winrar 中打开jar并浏览每个jar以查找我正在搜索的课程是否存在。

I need to know TimedWindowEventclass belongs to which JAR when JDK/JRE is downloaded. Is there any generalized way of searching Jar to which a particular class belongs to using Eclipse or any other tool. Right now I have to open jar in winrar and go through each and every jar to find if class I am searching for is present there.

推荐答案

你可以从在JarFinder上搜索类开始。

You could start by searching for the class on JarFinder.

http://www.findjar.com/

不完美,因为有时候是班级在多个JAR中。但这可能有助于缩小搜索范围。

Not perfect as sometimes a class is in more than one JAR. But this may help narrow down the search.

如果链接停止工作,可以使用您最喜欢的搜索引擎找到其他类似的服务。

If the link stops working, there are other similar services that can be found using you favourite search engine.

这篇关于如何查找Java类所属的Jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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