How to use JavaFX in a URCap

I have managed to add all the required libraries following the instructions I found from another user (here).
Dependency errors no longer appear, but a new error related to the Activator class appears now:

I keep investigating.