title: How to build self-contained java fx application for various platform in a single build that runs on Window 8 64 bit machine
body: <blockquote>
  <p>.Can be distributed as .zip or packaged as platform-specific installer.</p>
  <p>•No application changes, the same jar app binaries can be deployed as
  a native bundle, double-clickable jar</p>
  </blockquote>
  <p><a href="https://blogs.oracle.com/talkingjavadeployment/entry/native_packaging_for_javafx" rel="nofollow noreferrer">Source</a></p>
  <p>with reference to these two above point I would like to do the same. Can any body show me sample build.xml or help links to achieve these two points?</p>
  <p>I am running my build on Window 8, 64 bit machine and that is successfully producing an 64 bit window executable to launch self-contained java fx application using following javafx task -</p>
  <pre><code>&lt;fx:deploy width=&quot;${javafx.run.width}&quot; height=&quot;${javafx.run.height}&quot;
             nativeBundles=&quot;all&quot;
             outdir=&quot;${basedir}/${dist.dir}&quot; outfile=&quot;${application.title}&quot;&gt;
      &lt;fx:application name=&quot;${application.title}&quot; mainClass=&quot;${javafx.main.class}&quot;/&gt;
      &lt;fx:resources&gt;
          &lt;fx:fileset dir=&quot;${basedir}/${dist.dir}&quot; includes=&quot;*.jar&quot;/&gt;
      &lt;/fx:resources&gt;
      &lt;fx:info title=&quot;${application.title}&quot; vendor=&quot;${application.vendor}&quot;/&gt;
  &lt;/fx:deploy&gt;
  </code></pre>
  <p>Now I need to produce various O.S. installer to launch their respective self-contained java fx application on MAC and Linux. I would like to produce O. S. wise installer in the same build that is running on window 8 64 bit machine. Is this possible?</p>
  <p>I can compromise with installer, if this is not possible to build installer for MAC and Linux on Window platform but some how, can build a self-contained java fx application for various platform i.e. for MAC and Linux, in a single build that runs on Window 8 64 bit machine.</p>