java中的rt.jar文件有什么用? [英] What is the use of rt.jar file in java?

查看:257
本文介绍了java中的rt.jar文件有什么用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

为什么我们在java项目中使用rt.jar?

我对知道rt.jar文件非常困惑。

I am very confused to knowing about rt.jar file.


rt.jar文件的
是什么角色或者在java中使用rt.jar文件

What is the role of rt.jar file or use of rt.jar file in java??

谢谢。

推荐答案

简短的问题简答。 rt.jar 包含基本Java Runtime环境的所有已编译类文件。你不应该搞乱这个jar文件。

Short question short answer. rt.jar contains all of the compiled class files for the base Java Runtime environment. You should not be messing with this jar file.

对于MacOS,它叫做 classes.jar 并位于 / System / Library / Frameworks /< java_version> / Classes 下。相同的没有搞乱它也适用于那里:)。

For MacOS it is called classes.jar and located under /System/Library/Frameworks/<java_version>/Classes . Same not messing with it rule applies there as well :).

http://javahowto.blogspot.com/2006/05/what-does-rtjar-stand-for-in。 html

这篇关于java中的rt.jar文件有什么用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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