#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!