Skip to content

No JCEF in java.library.path #43

Description

@F1nnM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions