我想查看所有的 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?
如果你想要标准安装中的包列表,去Javadocs 并查看左上角.
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
t.jar中(.jar和一样.zip,所以你可以用任何可以打开 zip 文件的东西来打开它).
If you want to see the .class files, they're in lib
t.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 系统包存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
如何检测 32 位 int 上的整数溢出?How can I detect integer overflow on 32 bits int?(如何检测 32 位 int 上的整数溢出?)
return 语句之前的局部变量,这有关系吗?Local variables before return statements, does it matter?(return 语句之前的局部变量,这有关系吗?)
如何将整数转换为整数?How to convert Integer to int?(如何将整数转换为整数?)
如何在给定范围内创建一个随机打乱数字的 intHow do I create an int array with randomly shuffled numbers in a given range(如何在给定范围内创建一个随机打乱数字的 int 数组)
java的行为不一致==Inconsistent behavior on java#39;s ==(java的行为不一致==)
为什么 Java 能够将 0xff000000 存储为 int?Why is Java able to store 0xff000000 as an int?(为什么 Java 能够将 0xff000000 存储为 int?)