In the Simulator, CEF is correctly used, but I noticed that local JavaSE
builds use JavaFX
. Can CEF
be used in local JavaSE
builds?
My main Stub class already contains the following:
Class.forName("org.cef.CefApp");
System.setProperty("cn1.javase.implementation", "cef");
But (when running the resulting jar on windows) JavaFX seems to be picked by the build. Do I need to copy the cef folder to the target javaSE output? I tried doing this but it also didn't work
If I run the resulting jar with java -jar
, the CEF output that is seen when running the simulator (copied below) isn't printed in the console
Adding CEF to classpath...
Has CEF been excluded from local JavaSE builds explicitly? If so, it would be great if there could be a build hint to force the resulting build to look for cef libs in the /lib
directory