Jre:java Runtime Environment (operating environment)
Jdk:java Development Kit (Development Kit)
Jvm:java virtual Machine (VM)
The JRE is required to run a Java program on the computer, including the JVM. Java is capable of cross-platform (WINDOWS,LINUX,MAC) because Java code is compiled into a class file
It then runs on the JVM instead of running directly on the CPU. Different operating systems install different JRE, and a different JVM is installed, then the class file can be on each operating system
Run. General users only need to install the JRE to meet the requirements of running Java programs.
Java programmers need to install the JRE to develop and run Java programs, which include the JRE and various Java tools and base class libraries.
You can see the difference between three people with a containment relationship: JDK>JRE>JVM
About the basic environment of Java