Hi,

Johan can answer your question about publishing to maven central. I can confirm that the jar files for publication are being generated.

Incubator modules are not in the list of transitive dependencies for any existing module -- nor should they be, since incubator modules must be explicitly requested and are not depended on by other non-incubator modules. You would need to explicitly declare a dependency on the incubator module.

As for how to use them without relying on Maven Central, you can download the JMODs or SDK from https://jdk.java.net/javafx24 or https://openjfx.io and then use jlink (if using the JMODs) to create a custom JDK that includes JavaFX or use --module-path, if using the SDK. See:

https://openjfx.io/openjfx-docs/

And look at the "Runtime images" or "Run HelloWorld using JavaFX SDK" sections of the doc.

Either way you will need to use "--add-modules jfx.incubator.richtext" since incubator modules are (intentionally) not resolved by default.

-- Kevin


On 3/21/2025 3:29 AM, quizy...@gmail.com wrote:
Hello,

I'm very excited to try the recent incubated features. Thank you all for the great job! Could someone please explain how to use them? They are separate modules, but I don't see them published to Maven Central, and they aren't included as transitive dependencies for existing modules either. Am I supposed to compile JavaFX locally?

Best Regards.

Reply via email to