1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-08 02:06:15 +02:00

update java

updated
This commit is contained in:
Michal 2020-04-15 19:31:53 +02:00 committed by Starbeamrainbowlabs
parent ccd20f1f3f
commit 4970b6aa05

View file

@ -1,20 +1,20 @@
# java # java
> Java Application Launcher. > Java Application Launcher.
> More information: <https://java.com>. > Więcej informacji: <https://java.com>.
- Execute a java .class file that contains a main method by using just the class name: - Uruchom plik .class java, który zawiera główną metodę, używając tylko nazwy klasy:
`java {{classname}}` `java {{classname}}`
- Execute a .jar program: - Uruchom program .jar:
`java -jar {{filename.jar}}` `java -jar {{filename.jar}}`
- Display JDK, JRE and HotSpot versions: - Wyświetl wersje JDK, JRE i HotSpot:
`java -version` `java -version`
- Display usage information for the java command: - Wyświetl informacje o użyciu polecenia java:
`java -help` `java -help`