JavaFX Deployment

Shlomo Belleli shlomo.belleli at gmail.com
Mon Aug 20 15:12:53 UTC 2018


Hi Petr

This issue is a real problem for anyone that needs to deploy JavaFX and
don't have the Webstart any more
I am working on this issue for my own applications, and even talked with
Johan about this, a few months ago

there some issues here that you need to take into your consideration
who are your users - inside (workplace) or outside (web), the answer can
change the solution
can your customer have the patience to download a store like application
and install?
how you will handle updates and hotfixes (new install? what will be the
size?) a single jar can be a problem if you need fast updates in the future
what the size of your application
is your app ready for Jigsaw (modules... from JRE 9)
what is the size of the JRE (after modeling with jlink ) your app needs, a
bundled application with the JRE can be a big file XXX MB (modules can help
here)
which version of the JRE  your app needs
proxy/antivirus while downloading ??? don't forget them
where you will publish your app and how customers/users will reach this
location
how you are going to deploy your app from classes to jars/modules...
(launch4j? inno? ant? others?) depends on resources and or folders and such
in the app folder
how your app will distinguish a user with lower version and suggest a new
version (new update)

if you need help, I am here to share with you my experience in this subject

Shlomo






‫בתאריך יום ב׳, 20 באוג׳ 2018 ב-12:50 מאת ‪Johan Vos‬‏ <‪
johan.vos at gluonhq.com‬‏>:‬

> 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 cmail.cz> 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.
> >
> > Questions:
> > 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,
> >  Petr
> >
> >
>


-- 
Shlomo belleli
972-50-7200510
shlomo.belleli at gmail.com


More information about the openjfx-dev mailing list