Java Virtual Machine (Java Virtual Machine) is a fictitious computer that is implemented by simulating various computer functions on an actual computer. The Java virtual machine has its own virtual hardware architecture, such as processor, stack, registers, etc., and also has a corresponding instruction system.
The JVM shields the information related to the specific operating system platform, so that the Java program only needs to generate the target code (bytecode) that runs on the Java virtual machine, and it can run on a variety of platforms without modification. When the Java virtual machine executes bytecode, it actually ultimately interprets the bytecode into machine instructions for execution on the specific platform.
The virtual machine is started by calling the main method of a specified class, passing a string array parameter to main, so that the specified class is loaded, and other types used by the class are linked and initialized.
This article comes from the CSDN blog. Please indicate the source when reprinting: http://blog.csdn.net/boos_jian/archive/2009/12/18/5029871.aspx