Maven JavaFx native libraries and OSGi

Tom Eugelink tbee at
Wed Dec 14 08:04:20 PST 2011

I'm a bit at a loss here. How about:
- deploy javafx-rt.jar as is
- deploy a per platform jar with all binaries and a classifier specifying the platform
- the javafx.pom uses profiles (os and family) to determine what native jar is needed

In a project's pom you only refer to the javafx.pom (and it will resolve to the correct native jar via the profiles).

On run, find the jar containing the DLLs, extract it to a TEMP/<javafxversion>directory, and modify the java-library-path to include that.


More information about the openjfx-dev mailing list