create java.md
initial
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
1e23303e5f
commit
9dbe942bd7
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`
|
Reference in New Issue
Block a user