title: JDK9 Packager: Create image without runtime
body: <p>When using the Java Packager in Java 8, one had the choice to <em>not</em> include a runtime in the resulting image (see for example <a href="https://stackoverflow.com/q/36907582/4014509">this question</a>).</p>
  
  <p>I'm trying to achieve the same (using the ant tasks <a href="https://docs.oracle.com/javase/9/deploy/javafx-ant-tasks.htm" rel="nofollow noreferrer">described over here</a>). However I don't know how to not include the JVM in the resulting <code>.app</code> or <code>.exe</code> file.</p>
  
  <pre><code>&lt;fx:deploy nativeBundles="image" ...&gt;
      &lt;fx:runtime anythingICanDoHere?&gt;
      ...
  &lt;/fx:deploy&gt;
  </code></pre>
  
  <p>The reason why I am asking: I am creating my own runtime using the <code>jlink</code> utility and want to replace the default runtime bundled with the application. This works just fine, but as replace the default runtime anyway, it is an unnecessary step to include it in the first place.</p>
  
  <p>Side note: The application is not yet JPMS compliant, so the entire JVM is included.</p>