Java beginners have to know the concept of JDK,JRE,JVM difference?
JVM (Java Virtual machine Java VM)
Can be understood as a virtual computer, with the basic computing methods of the computer,
It is primarily responsible for interpreting bytecode files generated by Java programs into machine instructions on specific system platforms.
Let specific platforms such as Windows run these Java programs.
JRE (Java Runtime Environment Java Run environment)
Includes the Java Virtual machine (JVM Java) and the core class libraries required by the Java program, etc.
If you want to run a well-developed Java program, you only need to install the JRE in your computer.
JDK (Java Development Kit Java Development Kit)
The JDK is available to Java developers with Java development tools,
The JRE is also included. So with the JDK installed, you don't have to install the JRE separately.
The development tools include the build tool (Javac.exe) packaging Tool (Jar.exe), etc.
In simple terms: Java programs developed using the JDK are delivered to the JRE to run.
Three relations:
JVM: A machine instruction that converts a bytecode file into a specific system platform.
The core class library of the Jre:jvm+java language.
Development tools for Jdk:jre+java.
Java beginners have to know the concept of JDK,JRE,JVM difference?