在Windows7上的javafx应用程序中运行嵌入式vlc播放器时遇到问题。在Windows10和其他发行版上运行正常,但启动应用程序时出现以下控制台错误,很奇怪。
Native library (win32-x86-64/libvlc.dll) not found in resource path (
client-1.0.0-SNAPSHOT-jar-with-dependencies.jar)
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:302)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:455)
at com.sun.jna.Native.register(Native.java:1722)
at com.sun.jna.Native.register(Native.java:1443)
at uk.co.caprica.vlcj.binding.LibVlc.<clinit>(LibVlc.java:98)
at uk.co.caprica.vlcj.support.version.LibVlcVersion.<init>(LibVlcVersion
.java:49)