Journey icon indicating copy to clipboard operation
Journey copied to clipboard

No JCEF in java.library.path

Open F1nnM opened this issue 3 years ago • 0 comments

Hi,

Running the example code in the readme, I get the following error:

Exception in thread "main" java.lang.ExceptionInInitializerError
	at main.main(main.java:16)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at com.codebrig.journey.JourneyLoader.setup(JourneyLoader.java:204)
	at com.codebrig.journey.JourneyBrowserView.<clinit>(JourneyBrowserView.java:33)
	... 1 more
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
	at com.codebrig.journey.JourneyLoader.setup(JourneyLoader.java:199)
	... 2 more
Caused by: java.lang.UnsatisfiedLinkError: no jcef in java.library.path: /usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2423)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:808)
	at java.base/java.lang.System.loadLibrary(System.java:1893)
	at org.cef.CefApp.startup(CefApp.java:531)
	... 7 more

Seeing that there are issues with the 0.4 release, I also tried the 0.3.3 release. Both offline and online. Nothing changes.

I am running it with IntelliJ, JDK 16 on a x64 Linux.

What's the issue? I tried to google the error, but I couldn't find anything relevant.

Help would be very much appreciated, as I'd really like to use this in my project, but can't get it to work.

F1nnM avatar Jun 15 '21 16:06 F1nnM