 hard to write a rule to execute this binary in this context. This is
    because binary rules have a single output whereas here we require the whole
    folder.
  </p>

  <p>For example the java JDK has the following structure:</p>

  <pre class="code-container">
    <!-- prettier-ignore -->
    <code>
    .../jdk
    |-- bin
    |   |-- java
    |   |-- javac
    |   |-- ...
    |-- lib
    |   |-- ...
    ...
    </code>
  </pre>

  <p>Using entry points, javac and java can be defined as such:</p>

  <pr