Added
A small utility is distributed as Java source files. Its main class uses a public type from the java.time package, and the team wants a command-line build using the JDK without an IDE. The source file is named Report.java and the public class is named Report. Which command compiles the source file so it can subsequently be launched with the java command?
The JDK compiler is invoked with javac and the source filename, producing Report.class for launching with java Report. The java command runs a class rather than compiling this Java 8 source file. A package-qualified class name is not a source filename and does not invoke the compiler. The final command incorrectly treats javac as an argument to the runtime launcher.