mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-24 00:42:08 +02:00
I just hope isn't too much
This commit is contained in:
parent
861cf7673b
commit
290b6268a6
1 changed files with 5 additions and 5 deletions
|
@ -4,7 +4,11 @@
|
|||
|
||||
- Execute a java .class file that contains a main method by using just the class name:
|
||||
|
||||
`java {{filename}}`
|
||||
`java {{classname}}`
|
||||
|
||||
- Custom input and output files. Preferably .txt files. This is useful when you don’t want to input from keyboard every time you run your class. Outputs from `System.out.println();` are saved in the output file:
|
||||
|
||||
`java {{classname}} <{{path/to/inputfile}}> {{path/to/outputfile}}`
|
||||
|
||||
- Execute a .jar program:
|
||||
|
||||
|
@ -13,7 +17,3 @@
|
|||
- Display JDK, JRE and HotSpot versions:
|
||||
|
||||
`java -version`
|
||||
|
||||
- Custom input and output files. Preferably .txt files:
|
||||
|
||||
`java {{classname}} <{{path/to/inputfile}}> {{path/to/outputfile}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue