1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 00:24:56 +02:00
tldr/pages/common/javac.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

19 lines
386 B
Markdown

# javac
> Java Application Compiler.
- 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}}`