Home  >  Article  >  Java  >  What are the functions of javac and java in the Java tool set?

What are the functions of javac and java in the Java tool set?

王林
王林Original
2020-04-23 14:52:383897browse

What are the functions of javac and java in the Java tool set?

#javac: Java compiler, responsible for converting Java source code into bytecode files.

java: Java interpreter, responsible for executing bytecode files.

(Video tutorial recommendation: java video)

Expand knowledge:

Java working order:

1 , write java source code;

2. Compile Java source code into bytecode files through javac;

3. Migrate the program to the specific machine to be executed, and then execute it with java Corresponding bytecode file, so that the java program can be executed correctly.

Recommended tutorial: java entry program

The above is the detailed content of What are the functions of javac and java in the Java tool set?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn