I am trying to use JavaFX package in a Java 8 code from eclipse plug-in. I was able to compile it, but at run-time the plug-in is not able get JavaFX class loaded. Looks like, OSGi Plug-in is not able load classes from "[JAVA]\jre\lib\ext\" directory, but able to load classes from "[JAVA]\jre\lib\". Any pointers how to resolve the issue is highly appreciated.
** I understand there is a way off e(fx)clipse or copying jfxrt.jar to the plug-in class-path will resolve the issue, but I wanted to know why plug-in is not able to load from /ext/ path of the JRE.