Java code execution process

The running process of Java source code?

.Java file —> Javac command —> .class —> jvm —> interpretation and execution

Summarize

Simply put, the Java code we write is a .Java file, which is compiled into a .class file through the javac command, and then the .class file is interpreted and executed by the Java virtual machine (jvm).

Finally, Xiaobai is writing a blog for the first time, please give me advice if you have any questions!

Guess you like

Origin blog.csdn.net/Fan_1504251998/article/details/113386484