jcefmaven / jcefmaven

Maven artifacts for JCef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] Can not run (failed to map segment from shared object)

TavakoliAli opened this issue · comments

Describe the bug
After downloading, I get following error:

Test report generated by JCefSampleApp
**Tag**
{mvn_version}

**OS (linux/windows/macosx)**
linux

**Version/Flavor (e.g. Ubuntu 20.04, Windows 10, Big Sur)**
Debian GNU/Linux 10 (buster) (4.4.194)

**Arch (amd64/i386/arm64/arm)**
arm64

**Report as working? (Y/N)**
<Y/N>

**Did you test with the official sample app? (Y/N)**
Y

**Additional information**
Your additional info and additional text here, if you want to tell us something.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
May 07, 2023 4:59:57 AM me.friwi.jcefmaven.impl.progress.ConsoleProgressHandler handleProgress
INFO: LOCATING |> In progress...
May 07, 2023 4:59:58 AM me.friwi.jcefmaven.impl.progress.ConsoleProgressHandler handleProgress
INFO: INITIALIZING |> In progress...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/linaro/jcef-bundle/libjcef.so: /home/linaro/jcef-bundle/libjcef.so: failed to map segment from shared object
	at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
	at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445)
	at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501)
	at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2630)
	at java.base/java.lang.Runtime.load0(Runtime.java:768)
	at java.base/java.lang.System.load(System.java:1837)
	at me.friwi.jcefmaven.impl.step.init.CefInitializer.initialize(CefInitializer.java:57)
	at me.friwi.jcefmaven.CefAppBuilder.build(CefAppBuilder.java:233)
	at me.friwi.jcefsampleapp.MainFrame.<init>(MainFrame.java:82)
	at me.friwi.jcefsampleapp.MainFrame.main(MainFrame.java:197)

Environment (please complete the following information):

  • OS: linux - Debian 10
  • Architecture: aarch64 (arm64)
  • JAVA =
    openjdk 11.0.16 2022-07-19
    OpenJDK Runtime Environment (build 11.0.16+8-post-Debian-1deb10u1)
    OpenJDK 64-Bit Server VM (build 11.0.16+8-post-Debian-1deb10u1, mixed mode)

@FriwiDev

commented

Does your home directory have execute permissions?