mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
create java.md
initial
This commit is contained in:
parent
1e23303e5f
commit
9dbe942bd7
1 changed files with 20 additions and 0 deletions
20
pages.pl/common/java.md
Normal file
20
pages.pl/common/java.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# java
|
||||
|
||||
> Java Application Launcher.
|
||||
> More information: <https://java.com>.
|
||||
|
||||
- Execute a java .class file that contains a main method by using just the class name:
|
||||
|
||||
`java {{classname}}`
|
||||
|
||||
- Execute a .jar program:
|
||||
|
||||
`java -jar {{filename.jar}}`
|
||||
|
||||
- Display JDK, JRE and HotSpot versions:
|
||||
|
||||
`java -version`
|
||||
|
||||
- Display usage information for the java command:
|
||||
|
||||
`java -help`
|
Loading…
Add table
Reference in a new issue