java.lang.*驻留在JRE库中的哪个JAR文件中?如果要搜索特定的班级文件? [英] Which JAR file in JRE library does java.lang.* reside in ? If I want to search for a specific class file?

查看:33
本文介绍了java.lang.*驻留在JRE库中的哪个JAR文件中?如果要搜索特定的班级文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中的Project下它显示JRE库和具有许多类文件的JAR文件的列表.我想知道例如如何搜索java.lang.Object类吗?

In Eclipse Under Project It shows JRE Library and a list of JAR files having many class files. I want to Know how to search for java.lang.Object class for example?

推荐答案

按ctrl + shift + T并搜索 Object .然后单击项目浏览器左侧的链接到编辑器"按钮.如果您已正确设置所有内容(即,将rt.jar与src.zip链接在一起,尽管我不确定是否需要显式执行此操作),那么您将同时看到 Object 并发现它存在于rt.jar中.

Press ctrl+shift+T and search for Object. Then click the "Link to editor" button on the left in project explorer. If you've set things up correctly (i.e. linked rt.jar with src.zip, although I'm not sure if you need to do this explicitly anymore) you'll see both the source code for Object and see that it exists in rt.jar.

这篇关于java.lang.*驻留在JRE库中的哪个JAR文件中?如果要搜索特定的班级文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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