Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

A brief introduction to JVM, JRE and JDK

Shulou Source: shulou.com Published: 2022-06-02 05:02:18 10月03日 Update

This article mainly explains "A brief introduction to JVM, JRE and JDK". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "A brief introduction to JVM, JRE and JDK".

JVM:Java Virtual Machine (Java virtual machine), which contains the core class library of Java.

JRE:java runtime environment (java runtime environment), including JVM and some common Java runtime libraries, namely JRE=JVM+ common runtime libraries. The biggest feature: after installing JRE, you can only run java programs, but you cannot develop java programs. Because JRE does not include tools for developers to compile Java.

JDK:java development kit (runtime environment tools), including JRE and Java development tools, namely JDK=JRE+java development tools. After installing jdk, you can run JAVA programs as well as develop them.

The fundamental reason why java is cross-platform is that JVM is not cross-platform. How do you understand it? Suppose you are a boss and often go to give speeches around the world. When you are in England, you have an English translator; when you are in France, you have a French translator; when you are in Arabia, you have an Arab translator. Obviously, to the audience, you are cross-border, but your translation is not cross-border.

This paper summarizes:

Jvm is the core class library of Java

Jre=jvm+ other common class libraries

Jdk=jre+java development tools

Thank you for your reading. The above is the content of "brief introduction of JVM, JRE and JDK". After the study of this article, I believe you have a deeper understanding of the brief introduction of JVM, JRE and JDK, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Run tools developers people common development tools time programs learning content national boundaries core environment Allah France Arab largest all over the world world reason Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MySQL Microsoft NVidia Docker