Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide Example: run openfx inside apache Felix #5

Open
stbischof opened this issue Apr 5, 2019 · 1 comment
Open

provide Example: run openfx inside apache Felix #5

stbischof opened this issue Apr 5, 2019 · 1 comment

Comments

@stbischof
Copy link
Contributor

Please could you provice an example how to run openfx inside apache Felix

@tomsontom
Copy link
Member

Unfortunately the integration of FX into OSGi like shown here is done using Equinox-Adaptor-Hooks. Has Felix a way to control the classloader creation?

What we do in Equinox is to dynamically spin up a JPMS-Layer who contains JavaFX and use that for classloading.

The only way I can see using FX in Felix (without build your own JRE using jlink) is to:

  • Create a launcher
  • Spin up a layer
  • Start Felix with the layer as its parent-classloader

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants