repo.roscidus.com: java

To get the traditional Java commands:

      $ 0alias java http://repo.roscidus.com/java/openjdk-jre
      $ 0alias javac http://repo.roscidus.com/java/openjdk-jdk
    

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

      $ 0alias javadoc http://repo.roscidus.com/java/openjdk-jdk javadoc
    

To get common Java build tools:

      $ 0alias ant http://repo.roscidus.com/java/ant
      $ 0alias mvn http://repo.roscidus.com/java/maven
      $ 0alias gradle http://repo.roscidus.com/java/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