JavaFX Deployment

Petr Nemecek pnem at
Mon Aug 20 10:37:07 UTC 2018

Hi Johan,


that makes sense, thanks for feedback.


If I would prefer to distribute just a single jar, in order not to force users to install stuff etc., and if it will contain latest JavaFX, will it work under older Java version, which contain older version of JavaFX?





From: Johan Vos <johan.vos at> 
Sent: Monday, August 20, 2018 11:49 AM
To: Petr Nemecek <pnem at>
Cc: openjfx-dev at
Subject: Re: JavaFX Deployment


Hi Petr,


Your questions are actually related. The recommended way for distributing JavaFX apps is by bundling them with the required libraries, modules and VM into an executable. That way, you determine whether your application works with Java 8, 9, 10, 11 or beyond. You simply bundle the required components of the JRE with your app, so that users don't need to have the correct version of Java installed.


- Johan


On Sun, Aug 19, 2018 at 4:11 PM Petr Nemecek <pnem at <mailto:pnem at> > wrote:

Hi all,

I'm a nebiew to JavaFX, currently rewriting our industrial Flex app into
JavaFX. So far so good (I like it!), it is just not clear to me, how to
deploy the app once the Java Web Start is gone and JavaFX will not be
bundled in Java itself.

1) Is there something similar to Java Web Start available?
1) If I would like to distribute the app just as a single jar, will I have
to make two different builds, one without JavaFX for Java 10- users and one
with embedded JavaFX for Java 11+ users?

Many thanks,

More information about the openjfx-dev mailing list