Java系统软件包存储在哪里? [英] Where are the Java System Packages stored?

查看:158
本文介绍了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?

推荐答案

如果您想要标准安装中的软件包列表,只需转到

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屋!

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