I've added this JCEF library to my JFX application following this, first: under run configuration -> arguments -> vm arguments as
--module-path "D:\Strumenti_di_sviluppo\openjfx-11.0.2_windows-x64_bin-sdk\javafx-sdk-11.0.2\lib" --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.web,javafx.swing
-Djava.security.auth.login.config=resources/pj/login/login.config -cp "D:\ECLIPSE_WORKSPACES\JavaFX-workspace\pj\lib\java-cef-build-bin\bin;D:\ECLIPSE_WORKSPACES\JavaFX-workspace\pj\lib\java-cef-build-bin\bin\*" -Djava.library.path=D:\ECLIPSE_WORKSPACES\JavaFX-workspace\pj\lib\java-cef-build-bin\bin\lib\win64
and also on project -> build path -> configure build path -> libraries then I added them with "add jar".
Eclipse is well capable to solve the names (I have no warnings about objects not found) but as I run the application the class-loader dies when it looks for org.cef.handler.CefDisplayHandler
.
Anyway if I run the "run.bat" the sample runs. Hence I think it should be an issue in Eclipse but I have no ideas about where to look.
Note: other parts of the application running on jfx are fine, only this component faiuls to load.