Home>Article>Java> What is JVM? Where is it?

What is JVM? Where is it?

王林
王林 forward
2020-08-05 16:47:29 3337browse

What is JVM? Where is it?

JVM is the abbreviation of Java Virtual Machine (Java Virtual Machine). JVM is a specification for computing devices. It is a fictitious computer that is run on an actual computer. It is realized by simulating various computer functions.

(Recommended tutorial:java learning website)

Popular understanding:

JVM is essentially a program that can recognize .class bytecode file (which stores the binary code generated after we compile .java), and can parse its instructions, and finally call the functions on the operating system to complete the operation we want!

Regarding the cross-platform nature of the Java language, it is because of the JVM. We can imagine it as an abstraction layer. As long as this abstraction layer JVM correctly executes the .class file, it can run on various operating systems. Got it! This is compile once and run many times.

(Video tutorial recommendation:java learning)

JVM location:

JVM runs on the operating system and has nothing to do with the hardware. direct interaction.

The above is the detailed content of What is JVM? Where is it?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete