First, the bundles that are using javafx packages must import them with Import-Package
.
Next you need to get the system bundle to export the packages. By default the system bundle only exports the standard JRE packages plus the OSGi framework packages; you can extend this by setting the property org.osgi.framework.system.packages.extra
. Since you are using Bndtools (good!) you can set the property as follows:
-runsystempackages: javafx.foo,javafx.bar...