<@UH7J3DVPA> You do not need a `module-info.java` ...
# tornadofx
a
@Stephane M You do not need a
module-info.java
file. You just need to add the JavaFX modules to the module path.
s
Thanks ! So when I want to build a binary using jlink does that still work ? I'm still very new to JDK 11 and the learning curve alongside packaging javafx is steeper than expected
a
In order to take advantage of Jlink, your project needs to be a modular project.
If your project is on JDK 8, just use the gradle plugin.
s
I think I'm not clear... I'm trying to switch to JDK 11, and use tornado fx. I'm trying to build an image that can be deployed to my users and can update itself. It seems this is proving to be trickier than expected
For this I'm testing the 2.0.0-SNAPSHOT version of TornadoFX
a
We are talking about 2 different things here: • Running an app on JDK 11 using TornadoFX 2. This can be achieved without converting your application to a modular application. • Creating a runtime image of your application using JLink. Jlink will only work on a modular app.