Java cross-platform operating principle

  • .java source files must first be compiled into bytecode .class file and operating system independent, and then explain bytecode files into machine code by the Java virtual machine is running.
  • .class bytecode files for a virtual machine, which does not face any particular operating system.
  • Virtual machines on different platforms are different, but they gave JDK provides the same interface.
  • Java's cross-platform Java virtual machine depends on the different systems.


 


 

All resources resources are summarized in the public No.




​​​​​​​

 

Guess you like

Origin www.cnblogs.com/ConstXiong/p/11832686.html