1) JRE (Java runtime Environment,java Runtime Environment)
including Java virtual machines (JVM Java) and the core class libraries required by Java programs, if you want to run an already developed Java program, you only need to install the JRE on your computer.
2) JDK (Java Development Kit,java Development Kit)
The JDK is available to Java developers, which includes Java development tools and the JRE. So with the JDK installed, you don't have to install the JRE separately. Development tools: Compilation Tools (Javac.exe) packaging Tools (Jar.exe), etc.
3) The role and relationship of JDK,JRE,JVM
① effect
JVM: Securing the Java language across platforms
Jre:java the operating environment of the program
Development environment of Jdk:java program
② relationship
jdk:jre+ Tools
jre:jvm+ Class Library
Note: In simple terms, Java programs developed with the JDK are delivered to the JRE to run.
Java Basics Summary 01:jdk and JRE overview