The initial motive for writing this type of article: When a colleague asks what the JVM is doing, it is in a daze;
In accordance with the Convention, starting from What/where/how and so on, namely:
What is the purpose of the JVM?
Two. When was the JVM installed on a computer in its total form?
Three. What is the principle of the JVM?
I. Purpose of the JVM
Popular will be in order to make Java program can be run on different operating systems, that is, the implementation of the Java language Platform independence;
Two. When was the JVM installed on a computer in its total form?
The JVM is part of the JRE and the second JRE is part of the JDK, so the JVM is installed on the computer when the JDK is installed;
The actual installation of the JDK is two JRE, one is the same as the JDK, and the other is the JRE contained in the JDK;
Three. The principle of the JVM
The JVM is a virtual machine simulated by Java, imitating the computer to implement a variety of virtual hardware and some set of instructions, Java programs need to run on the JVM.
Opening of the Java Virtual Machine (i)