title: Bundle JavaFX app with openjdk 11 + runtime
body: <p>I've created a small HelloWorld Java app that relies on OpenJDK 11 and JavaFX. The app is packaged in a jar file which can only be run if I have installed Java 11 and JavaFX on my system separately.</p>
  
  <p>Now I'd like to convert my jar into a <a href="https://docs.oracle.com/javase/10/deploy/self-contained-application-packaging.htm#JSDPG583" rel="noreferrer">self-contained Java application</a> which includes JavaFX and a fully-functional Java runtime environment. This will allow me to run my app without installing OpenJDK 11 (which presents technical hurdles such as setting PATH correctly etc).</p>
  
  <p>I can find information about creating self-contained Java applications on Java 10 but I cannot find information about bundling a Java app with OpenJDK 11 and JavaFX.</p>
  
  <p>How can I ship a self-contained Java app (which includes a java runtime) with OpenJDK 11 and JavaFX?</p>