My new project has the JAR and dylib files and appears to be accessing those just fine.
It however, doesn't seem to be finding a dependency (the actual Chromium Embedded Framework?). I've debugged the loading of the it and found this exception:
- Code: Select all
java.lang.UnsatisfiedLinkError: /Users/XXXX/code/MyProject/com.company.project/lib/libjcef.dylib: dlopen(/Users/XXXX/code/MyProject/com.company.project/lib/libjcef.dylib, 1): Library not loaded: @executable_path/Chromium Embedded Framework
Referenced from: /Users/XXXX/code/MyProject/com.cvcompany.project/lib/libjcef.dylib
Reason: image not found
I haven't been able to find any instructions on actually how to package up all the things and then reference them. I did specify
- Code: Select all
-Djava.library.path=/Users/XXXX/code/MyProject/com.company.project/lib/libjcef.dylib
I just don't know how to package & reference the actual CEF...
Thanks for any pointers.