mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
java command
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user