TLDR
Enter a command. For example: xev, gpg tui, pio org, tlmgr install.

javac

 
Java Application Compiler. More information: https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html.
 
  • Compile a .java file:
     
    javac {{file.java}}
     
  • Compile several .java files:
     
    javac {{file1.java}} {{file2.java}} {{file3.java}}
     
  • Compile all .java files in current directory:
     
    javac {{*.java}}
     
  • Compile a .java file and place the resulting class file in a specific directory:
     
    javac -d {{path/to/some/directory}} {{file.java}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.