i'm new to cef/jcef and need some assistance to run jcef from IntelliJ on osx...
as far is i understand cef on osx needs the correct application-bundle folder-structure to function.
JCEF Version = 3.3325.179
CEF Version = 3.3325.1755
Chromium Version = 65.0.3325.181
building jcef worked fine, the example application runs.
i used
- Code: Select all
tools/make_distrib.sh macosx64
in some forum-thread i was reading to set the application bundle as the projects working directory, i did so.
java.library.path points to Contents/Java inside this app-bundle.
for libjcef.dylib to resolve it's dependencies i changed it so it points to:
@loader_path/../Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework
i also changed "jcef Helper.app/Contents/MacOS/jcef Helper" so it points to the CEF-framework relative to it's path:
@executable_path/../../../Chromium Embedded Framework.framework/Chromium Embedded Framework
when running simple.MainFrame.java i still get:
- Code: Select all
[0508/145008.374953:ERROR:icu_util.cc(138)] icudtl.dat not found in bundle
[0508/145008.377314:ERROR:icu_util.cc(174)] Invalid file descriptor to ICU data received.
seems the paths are not set up correctly... not sure how to solve this.
thanks for any advice.