1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 05:17:58 +01:00

java command

This commit is contained in:
Qtrain 2015-12-16 03:51:52 -05:00 committed by Igor Shubovych
parent a2fc6cc1db
commit df6c9dc308

16
pages/common/java.md Normal file
View 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`