JRE包含在JDK与独立JRE之间 [英] JRE included with JDK vs. standalone JRE

查看:135
本文介绍了JRE包含在JDK与独立JRE之间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JDK(位于jre文件夹内)的JRE与独立的JRE之间有什么区别?有没有?

What's the difference between the JRE included with the JDK (located inside of the jre folder) and the standalone JRE? Is there any?

推荐答案

独立JRE(有时也称为公共JRE)通常不包含HotSpot的服务器版本。它还缺少JDK(JavaDB,javac,tools.jar等)中包含的工具。

The "standalone JRE" (sometimes also referred to as the "Public JRE") generally does not contain the server version of HotSpot. It also lacks the tools included with the JDK (JavaDB, javac, tools.jar, etc).

否则,运行时是相同的。另请注意,JDK可能会安装一个(或多个)JRE。

Otherwise, the runtimes are identical. Also, note that a JDK may install one (or more) JREs.

最后,所有上述说明都与Sun的Windows Java安装程序有关。其他供应商和平台可能(有时确实)有所不同。

Finally, all of the above notes are in regards to Sun's Java installers for Windows. Other vendors and platforms may (and sometimes do) vary.

这篇关于JRE包含在JDK与独立JRE之间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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