[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: JavaFX: Can't load library: libjfxwebkit.so
From:       Kevin Rushforth <kevin.rushforth () oracle ! com>
Date:       2015-04-21 14:57:12
Message-ID: 55366548.5000904 () oracle ! com
[Download RAW message or body]

When you build OpenJFX it doesn't build the media or webkit libraries by 
default. You can enable them, but they (especially WebKit) require 
additional libraries on your build machine. If you don't build them, it 
will use the ones from the JDK that you use to build. The ones we 
currently ship with 8u60 (and 9) early access don't work on older Linux 
distros.

See https://javafx-jira.kenai.com/browse/RT-40550

-- Kevin


Александр Свиридов wrote:
> I use centos 6.4 + openjdk8 (build 25.40-b18, mixed mode) and openjfx (I build it \
> from today sources). I have 64 box. And I can't use the html components (all other \
> components seem to work normally) - webview,webengine,htmleditor. When I try to use \
> them I get: Caused by: java.lang.UnsatisfiedLinkError:Can't load \
> library:/usr/java/j2sdk-image/jre/lib/amd64/libjfxwebkit.so at \
> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817) at \
> java.lang.Runtime.load0(Runtime.java:809) at \
> java.lang.System.load(System.java:1083) at \
> com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:201) \
> at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:94) \
> at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:39) at \
> com.sun.webkit.WebPage.lambda$static$38(WebPage.java:127) at \
> com.sun.webkit.WebPage$$Lambda$70/1840187125.run(UnknownSource) at \
> java.security.AccessController.doPrivileged(NativeMethod) at \
> com.sun.webkit.WebPage.<clinit>(WebPage.java:126) at \
> javafx.scene.web.WebEngine.<init>(WebEngine.java:824) I tried to find this lib on \
> my PC but didn't find. I tried to find in repos: yum provides libjfxwebkit.so
> but also didn't find. What should I do?


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic