To get the traditional Java commands:

      $ 0alias java
      $ 0alias javac

The other tools are available by passing the tool name as a third argument, e.g.

      $ 0alias javadoc javadoc

To get common Java build tools:

      $ 0alias ant
      $ 0alias mvn
      $ 0alias gradle

When making packages that depend on Java, either add the JRE's bin directory to PATH, or use this pattern:

      "${MYPROG_JRE_BIN}java" ...

If Zero Install selects a native version of Java (part of your distribution) then MYPROG_JRE_BIN will expand to the empty string and the command will simply invoke java. Otherwise, it will run java from the selected Zero Install implementation.

Available feeds