What is Commands for the compiler that are needed to compile and run your program?

javac is the command that is used to compile Java source files.
javac is the command that is used to compile Java source files.