Table of contents
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