A summary of the knowledge that belongs to the individual, not a comprehensive
The difference between 1.JDK, JRE, and JVM
01.JDK: (Java development ToolKit) Java SDK, is the core of the entire java. Includes Java's runtime environment, JRE, a stack of Java tools, and a Java-based class library.
02.JRE: (Java runtime envirnment) is our usual Java platform, all Java programs must be in the context of the JRE to run. Contains the core class library of Jvm,java, but does not include the development tools-compiler, debugger.
03.JVM: (Java virtial mechinal) Java Virtual machine, which is part of the JRE. The main job is to interpret your own bytecode files and map the instructions to the local CPU to inherit OS system calls. Java is a cross-platform, based on the JVM, using the JVM's mapping rules to make it irrelevant to the operating system. The JVM does not care about the. java files that we write, only the. class file (because the. class file has the instruction set required by the JVM).
2. Computer programs
A collection of ordered instructions written to allow a computer to perform certain operations or solve a problem.
Conceptual knowledge Summary of Java basics