博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JDK JRE JVM
阅读量:5040 次
发布时间:2019-06-12

本文共 1757 字,大约阅读时间需要 5 分钟。

图片转自:http://www.javabeat.net/what-is-the-difference-between-jrejvm-and-jdk/

注:有人说JVM中可以没有JIT编译器

 

以下转自:http://stackoverflow.com/questions/11547458/what-is-differences-between-jvm-jdk-jre-openjdk

JVM

The Java Virtual machine (JVM) is the virtual machine that run the Java bytecodes. The JVM doesn't understand Java typo, that's why you compile your *.java files to obtain *.class files that contain the bytecodes understandable by the JVM. It's also the entity that allows Java to be a "portable language" (write once, run anywhere). Indeed there are specific implementations of the JVM for different systems (Windows, Linux, MacOS, ..), the aim is that with the same bytecodes they all give the same results.

JDK and JRE

To explain the difference between JDK and JRE, the best is to read the  and consult the diagram :

Java Runtime Environment (JRE) The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language. In addition, two key deployment technologies are part of the JRE: Java Plug-in, which enables applets to run in popular browsers; and Java Web Start, which deploys standalone applications over a network. It is also the foundation for the technologies in the Java 2 Platform, Enterprise Edition (J2EE) for enterprise software development and deployment. The JRE does not contain tools and utilities such as compilers or debuggers for developing applets and applications.


Java Development Kit (JDK) The JDK is a superset of the JRE, and contains everything that is in the JRE, plus tools such as the compilers and debuggers necessary for developing applets and applications.

转载于:https://www.cnblogs.com/crane-practice/p/3638350.html

你可能感兴趣的文章
CEF3开发者系列之进程间消息传递
查看>>
Android 网络加载通用Loading
查看>>
hdu 1756:Cupid's Arrow(计算几何,判断点在多边形内)
查看>>
Eclipse+php插件+Xdebug搭建PHP完美开发/调试环境指南
查看>>
时序分析 基本术语 摘记 (ALTERA 官方教程)
查看>>
分治算法经典案例 - 棋盘问题
查看>>
A Mysterious 'RuntimeLibrary' Link Error
查看>>
复合数据类型
查看>>
[Lintcode]163. Unique Binary Search Trees
查看>>
mysql主从
查看>>
[转]C# 常用字符串加密解密方法
查看>>
SQL常用语句
查看>>
Project Euler Problem 5-Smallest multiple
查看>>
减小iOS应用程序的大小
查看>>
for循环中的:
查看>>
python细节1
查看>>
spark性能调优(二) 彻底解密spark的Hash Shuffle
查看>>
遍历目标目录下的指定文件,未考虑子目录
查看>>
Spring MVC中默认的ResponseBody为String的乱码问
查看>>
解决json日期格式问题的3种方法
查看>>