Where are the Java System Packages stored?(Java 系统包存储在哪里?)
问题描述
我想查看所有的 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 系统包存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Java 系统包存储在哪里?


- Eclipse 插件更新错误日志在哪里? 2022-01-01
- C++ 和 Java 进程之间的共享内存 2022-01-01
- Jersey REST 客户端:发布多部分数据 2022-01-01
- 从 finally 块返回时 Java 的奇怪行为 2022-01-01
- 如何使用WebFilter实现授权头检查 2022-01-01
- 将log4j 1.2配置转换为log4j 2配置 2022-01-01
- Java包名称中单词分隔符的约定是什么? 2022-01-01
- Spring Boot连接到使用仲裁器运行的MongoDB副本集 2022-01-01
- value & 是什么意思?0xff 在 Java 中做什么? 2022-01-01
- Safepoint+stats 日志,输出 JDK12 中没有 vmop 操作 2022-01-01