Page 1 of 1

no cef in java.library.path

PostPosted: Wed May 16, 2018 10:39 am
by rds98
I am trying to run Project on Ubuntu but it is giving me the following error. Can anyone help me to Fix this?
I am running Ubuntu 16.04 and i have also added the "jcef_build/native/Release" To my path Variables.

Code: Select all
Exception in thread "main" java.lang.UnsatisfiedLinkError: no cef in java.library.path
   at java.lang.ClassLoader.loadLibrary(
   at java.lang.Runtime.loadLibrary0(
   at java.lang.System.loadLibrary(
   at org.cef.CefApp.<init>(
   at org.cef.CefApp.getInstance(
   at org.cef.CefApp.getInstance(
   at example.simple.SimpleFrameExample.<init>(
   at example.simple.SimpleFrameExample.main(

Re: no cef in java.library.path

PostPosted: Wed May 16, 2018 11:08 am
by magreenblatt
How are you running it? See the tools/ script.

Re: no cef in java.library.path

PostPosted: Wed Dec 05, 2018 8:45 am
by chandrub2004
I am also having the same issue , when i try to run the jar in ubuntu 16.0.4, I am getting the same exception. Can anyone help on this .
Thanks in advance

Re: no cef in java.library.path

PostPosted: Thu Feb 07, 2019 2:20 am
by chandrub2004
found the solution for the issue by doing some research , we need to add the natives folder(which i got from one of the jcef-example) in java library path.
In Eclipse Right click project --> go to Build path --> Click on configure build path , we will get a Java Build path window. Go to Libraries tab, Expand JRE System Library(JavaSE 1.8) click on Native Library Location and click on Edit in right side. This will open a window there choose the Natives folder click ok.

Natives folder is the binaries which we get from CEF , i got natives folder in one of the jcef-example app.