Java is a programming language and runtime environment. You can use Zero Install to:

To get the traditional Java commands:

The other tools are available by passing the tool name as a --command option to 0install add, e.g.:

The JRE and JDK feeds automatically select an OpenJDK distribution based on your operating system:

They can also use a Java version already installed by your Linux distribution's package manager (APT, DNF, Zypper or pacman) or registered in the Windows registry.

You can explicitly control which OpenJDK distribution is used by referencing the relevant feed directly.

To get common Java build tools:

To use the Java Runtime Environment as the runner in a feed:

If you wish to use the CLASSPATH variable to specify external dependencies in a feed you can use JAR Launcher: