I'm new to jcef and I tried to make this guide(https://bitbucket.org/chromiumembedded/java-cef/wiki/BranchesAndBuilding). the build ran without any error. I tried to run the simple application "MainFrame.java", but it throws an error. The steps I made:
- create an project in Eclipse
- copied the MainFrame file
- added the jar files to the library
That is the error i get:
- Code: Select all
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jcef in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.cef.CefApp.<init>(CefApp.java:157)
at org.cef.CefApp.getInstance(CefApp.java:246)
at org.cef.CefApp.getInstance(CefApp.java:233)
at test.MainFrame.<init>(MainFrame.java:71)
at test.MainFrame.main(MainFrame.java:154)
What am I doing wrong or have I forgotten to do something?