Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No JCEF in java.library.path #43

Open
F1nnM opened this issue Jun 15, 2021 · 0 comments
Open

No JCEF in java.library.path #43

F1nnM opened this issue Jun 15, 2021 · 0 comments

Comments

@F1nnM
Copy link

F1nnM commented Jun 15, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant