How to use JavaFX
classes inside Eclipse Plugin?
Apparently I am unable to add jfxrt.jar
somehow, because it depends on java version and I don't know under which java my plugin will run.
UPDATE
In the "duplicate" question How to use JavaFX 2 SDK in Eclipse? it is answered either to set classpath to jafrt.jar
or to use e(fx)clipse
First option looks not portable, because path to java may vary.
And I had failed with second. I have installed e(fx)eclipse
into my application but can't figure which plug-ins to include into runtime config.