All apps/Java

Java

java

The Java application launcher.

Runs as java|macOS, Linux, Windows|openjdk.org

Autocomplete

Fig spec, with what the manifest adds · 7 options
Published once and never changed; check the digest before caching
sha256
c04952ba119763218b04190151f8e5022c4f13cac3bfe6f71f3b13cba01c830f
Size
1522 bytes
OptionsOn java itself
-jar
To launch the main class in a JAR file <JAR file>
-D
Set a system property, -D<NAME>=<VALUE>
--help-h-?
Show help for java
--version-version
Print product version to the error stream and exit
-showversion--show-version
Print product version to the output stream and continue
--dry-run
Create VM and load main class but do not execute main method
--classpath-cp
Class search path of directories and zip/jar files <search files>
ArgumentsPositional, in order
<mainclass>
To launch a class file · filepaths