Java Virtual Machine --JVM

JVM (Java Virtual Machine): Java Virtual Machine, referred JVM, is a hypothetical computer to run all Java programs, a Java program is run environment is one of the most attractive features of Java. We write Java code that runs on the JVM.

Cross-platform: any running software must be run on the operating system, and our software written in Java can run on any operating system, this feature is called cross-platform Java language features. This feature is implemented by the JVM, we wrote a program run on JVM, and JVM running on the operating system. JVM is how to achieve it? In fact, the equivalent of JVM machine translation, which the java code we have written translation based on different platforms, so that it can run on a variety of platforms.

As shown, Java virtual machine itself does not have cross-platform capabilities, each operating system has a different version of the virtual machine.

Guess you like

Origin www.cnblogs.com/roadlandscape/p/12042137.html