The relationship between JVM, JRE, and JDK in JAVA

Table of contents

1. Introduction to JVM

Two, JDK introduction

3. Introduction to JRE

Fourth, the relationship between the three


1. Introduction to JVM

1 JVM is a virtual computer with an instruction set and uses different storage areas, responsible for executing instructions, managing data, memory, registers, and included in the JDK.

Two, JDK introduction

1 The full name of JDK (Java Development Kit)

2 JDK = JRE + java development tools [java, javac, javadoc, javap, etc.]

3. Introduction to JRE

1 JRE (Java Runtime Environment Java runtime environment)

JRE = JVM + java core class library

2 Java virtual machine (JVM Java Virtual Machine) and the core class libraries required by Java programs, etc. If you want to run a developed Java program, you only need to install JRE in the computer.

Fourth, the relationship between the three

1 JDK = JRE + development tool set + java standard class library 

2 JRE = JVM + java standard class library

There are only .class files in a computer, and only JRE can be installed to run

Guess you like

Origin blog.csdn.net/qq_67896626/article/details/127584209