mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 15:17:57 +01:00
Merge pull request #676 from mshmoustafa/javac-examples
javac: add -d and multiple files examples
This commit is contained in:
commit
47ad04a2a4
1 changed files with 12 additions and 0 deletions
|
@ -5,3 +5,15 @@
|
|||
- Compile a .java file:
|
||||
|
||||
`javac {{filename.java}}`
|
||||
|
||||
- Compile several .java files:
|
||||
|
||||
`javac {{filename1.java}} {{filename2.java}} {{filename3.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}} {{filename.java}}`
|
||||
|
|
Loading…
Reference in a new issue