Java 系统包存储在哪里?

编程入门 行业动态 更新时间:2024-10-27 14:21:17
本文介绍了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目录下的libt.jar中(.jar和一样.zip,所以你可以用任何可以打开 zip 文件的东西来打开它).

If you want to see the .class files, they're in libt.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 系统包存储在哪里?

本文发布于:2023-10-19 14:28:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1507798.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:系统   Java

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!