mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 02:57:58 +01:00
java command
This commit is contained in:
parent
a2fc6cc1db
commit
df6c9dc308
1 changed files with 16 additions and 0 deletions
16
pages/common/java.md
Normal file
16
pages/common/java.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# java
|
||||
|
||||
> Java Application Launcher.
|
||||
|
||||
- Execute a java .class file that contains a main method by using just the class name.
|
||||
|
||||
`java {{filename}}`
|
||||
|
||||
- Execute a .jar program.
|
||||
|
||||
`java -jar {{filename.jar}}`
|
||||
|
||||
- Display JDK, JRE and HotSpot versions.
|
||||
|
||||
`java -version`
|
||||
|
Loading…
Reference in a new issue