I've assembled a small project demonstrating how JavaFX can be added to a NetBeans RCP application built on jdk11:
https://github.com/borisheithecker/netbeans-javafx Hope it helps Boris On Wed, 29 Jan 2020 at 19:34, Scott Palmer <swpal...@gmail.com> wrote: > > On Jan 29, 2020, at 12:21 PM, Neil C Smith <neilcsm...@apache.org> wrote: > > > > On Wed, 29 Jan 2020, 17:06 Scott Palmer, <swpal...@gmail.com> wrote: > >> >> Isn’t the “right” way to create a JRE using jimage which includes the >> JavaFX modules via JavaFX JMOD files and bundle that with your application? >> > > Right, maybe. But AFAIK not easily achievable right now. I ideally need to > run an RCP app with a whole load of stuff on the module path in the near > future, but haven't looked much at it yet. Did talk to Jan briefly at NB UK > about it and get the feeling it might be "difficult". :-) > > Best wishes, > > Neil > >> > I’ve never done a Netbeans RCP app so I can’t say what is involved in that > context, but for a plain JavaFX desktop app it isn’t so bad. I made a > couple tasks in my Gradle script to generate a JRE with jimage and then an > install package with jpackage (from JDK 14-ea). So far so good. > > (I had more pain dealing with JAXB post JDK 11 as I had gone forward > expecting JPMS modules to still be available for it from somewhere after it > was removed from the JDK. ) > > Regards, > > Scott > -- Boris Heithecker Dr. Boris Heithecker Lüneburger Str. 30 28870 Ottersberg Festnetz: +49 4205 315834 Mobil: +49 170 6137015