jdk与jre的区别

来源:互联网 发布:mac recovery恢复系统 编辑:程序博客网 时间:2024/06/05 13:32

JDK:Java Development Kit

JRE: Java Runtime Environment

下图是从Oracle Java官网copy下来的,可以看到JDK其实包含了JRE。偷懒把官网上JDK和JRE的解释也copy下来翻一下,一目了然。

Java SE Runtime Environment (JRE)

The JRE provides the libraries, Java virtual machine, and other components necessary for you to run applets and applications written in the Java programming language. This runtime environment can be redistributed with applications to make them free-standing.

Java运行时环境:JRE提供库,java虚拟机以及其他用于跑java程序或者小控件所必需的部件。JRE可以随应用程序一起发布以保证其独立性。

Java SE Development Kit (JDK)

The JDK includes the JRE plus command-line development tools such as compilers and debuggers that are necessary or useful for developing applets and applications.

Java开发套件:JDK包含JRE以及一些开发Java程序所需的命令或工具,比如编译器、调试器等


Java、JDK、JRE version相关知识可以参考:http://www.oracle.com/technetwork/java/javase/namechange-140185.html

reference: 点击打开链接

0 0
原创粉丝点击