Java系统软件包存储在哪里? [英] Where are the Java System Packages stored?
问题描述
我想查看所有的Java包.程序包存储在我的机器中的什么位置?谁能帮忙.我没有在jdk文件夹中搜索,发现awt.dll以及全部.但是它只是少数.我可以看到所有的人吗?
I want to see all the java packages. Where are the packages stored in my machine? Can anyone help. I did search in jdk folder and found awt.dll and all. But its only a few. Can i see all of them?
推荐答案
If you want a list of packages in the standard installation, just go to the Javadocs and look in the upper left corner.
如果要查看.class文件,它们位于JRE目录的lib\rt.jar
中(.jar
与.zip
相同,因此可以使用任何可以打开zip文件的文件来打开它).
If you want to see the .class files, they're in lib\rt.jar
in the JRE directory (.jar
is the same as .zip
, so you can open it with anything that can open zip files).
如果要查看源代码,请在JDK目录中的src.zip
中查找.如果不存在,则可能是在安装JDK时选择不安装它.
If you want to see the source code, look in src.zip
in the JDK directory. If it's not there, you probably elected not to install it when you installed the JDK.
请记住,软件包表示为磁盘上的文件夹,因此您可能会对看到的内容有些失望.
Keep in mind that packages are represented as folders on disk, so you might be a little disappointed by what you see.
这篇关于Java系统软件包存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!