Differences between Java and JavaC commands

The Java command is a command to run the java program, which is built into the JRE and JDK environments. The default line of the JRE installation wizard is to copy the Java command to the System32 folder of the system, so without configuring the environment variable, this command can also be executed normally. .

The JavaC command is a compilation command in the Java language, which is used to compile a ".java" file into a ".class" bytecode file. It is a command unique to JDK, so it is often used as a test command after configuring environment variables.

The biggest difference visually is: Java commands return English prompts, while JavaC commands return Chinese prompts

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325770354&siteId=291194637