javac
Java application compiler. tldr-pages
On several platforms
Several platforms
Compile a .java file
javac path/to/file.javaIdentifyCompile several .java files
javac path/to/file1.java path/to/file2.java ...IdentifyCompile all .java files in current directory
javac *.javaIdentifyCompile a .java file and place the resulting class file in a specific directory
javac -d path/to/directory path/to/file.javaIdentify