c***@bekwam.com
2018-11-06 17:25:19 UTC
Hi,
I'm running OpenJFX 8u202-b02. I'm getting a missing DLL error on an
AudioClip object creation statement. The Java code and stack trace follow.
I didn't compile webkit. If that's needed, can someone tell me which target
or makefile to run? The Wiki shows the dependencies like cmake but not any
actual commands or Gradle tasks.
If I switch to the Oracle JDK 8u192, the code works. There is a
glib-lite.dll in the Oracle jre\bin folder.
Thanks,
Carl
clipMap.put( "0", new AudioClip(f.toURI().toString()));
Caused by: java.lang.UnsatisfiedLinkError: Can't load library:
D:\Java\open-jdk8u181-b13-openjfx\jre\bin\glib-lite.dll
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1827)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
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.media.jfxmediaimpl.NativeMediaManager.lambda$new$0(NativeMediaManage
r.java:108)
at java.security.AccessController.doPrivileged(Native
Method)
at
com.sun.media.jfxmediaimpl.NativeMediaManager.<init>(NativeMediaManager.java
:106)
at
com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaManagerInitializer.
<clinit>(NativeMediaManager.java:77)
at
com.sun.media.jfxmediaimpl.NativeMediaManager.getDefaultInstance(NativeMedia
Manager.java:89)
at
com.sun.media.jfxmedia.MediaManager.canPlayProtocol(MediaManager.java:78)
at
com.sun.media.jfxmedia.locator.Locator.<init>(Locator.java:239)
at
com.sun.media.jfxmediaimpl.NativeMediaAudioClip.<init>(NativeMediaAudioClip.
java:53)
at
com.sun.media.jfxmediaimpl.NativeMediaAudioClip.load(NativeMediaAudioClip.ja
va:63)
at
com.sun.media.jfxmediaimpl.AudioClipProvider.load(AudioClipProvider.java:66)
at com.sun.media.jfxmedia.AudioClip.load(AudioClip.java:135)
at javafx.scene.media.AudioClip.<init>(AudioClip.java:83)
at com.mycompany.audio.AudioBean.load(AudioBean.java:171)
I'm running OpenJFX 8u202-b02. I'm getting a missing DLL error on an
AudioClip object creation statement. The Java code and stack trace follow.
I didn't compile webkit. If that's needed, can someone tell me which target
or makefile to run? The Wiki shows the dependencies like cmake but not any
actual commands or Gradle tasks.
If I switch to the Oracle JDK 8u192, the code works. There is a
glib-lite.dll in the Oracle jre\bin folder.
Thanks,
Carl
clipMap.put( "0", new AudioClip(f.toURI().toString()));
Caused by: java.lang.UnsatisfiedLinkError: Can't load library:
D:\Java\open-jdk8u181-b13-openjfx\jre\bin\glib-lite.dll
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1827)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
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.media.jfxmediaimpl.NativeMediaManager.lambda$new$0(NativeMediaManage
r.java:108)
at java.security.AccessController.doPrivileged(Native
Method)
at
com.sun.media.jfxmediaimpl.NativeMediaManager.<init>(NativeMediaManager.java
:106)
at
com.sun.media.jfxmediaimpl.NativeMediaManager$NativeMediaManagerInitializer.
<clinit>(NativeMediaManager.java:77)
at
com.sun.media.jfxmediaimpl.NativeMediaManager.getDefaultInstance(NativeMedia
Manager.java:89)
at
com.sun.media.jfxmedia.MediaManager.canPlayProtocol(MediaManager.java:78)
at
com.sun.media.jfxmedia.locator.Locator.<init>(Locator.java:239)
at
com.sun.media.jfxmediaimpl.NativeMediaAudioClip.<init>(NativeMediaAudioClip.
java:53)
at
com.sun.media.jfxmediaimpl.NativeMediaAudioClip.load(NativeMediaAudioClip.ja
va:63)
at
com.sun.media.jfxmediaimpl.AudioClipProvider.load(AudioClipProvider.java:66)
at com.sun.media.jfxmedia.AudioClip.load(AudioClip.java:135)
at javafx.scene.media.AudioClip.<init>(AudioClip.java:83)
at com.mycompany.audio.AudioBean.load(AudioBean.java:171)