fabianlupa / bottimus

Discord music bot written in Java 8 using VLC and JDA
GNU General Public License v3.0
2 stars 4 forks source link

Failed to get VLC installation directory #18

Open VenZero opened 8 years ago

VenZero commented 8 years ago

413 [main] WARN uk.co.caprica.vlcj.runtime.windows.WindowsRuntimeUtil - Failed to get VLC installation directory from the registry com.sun.jna.platform.win32.Win32Exception: The system cannot find the file specified. at com.sun.jna.platform.win32.Advapi32Util.registryGetStringValue(Advapi32Util.java:544) at uk.co.caprica.vlcj.runtime.windows.WindowsRuntimeUtil.getVlcInstallDir(WindowsRuntimeUtil.java:64) at uk.co.caprica.vlcj.discovery.windows.DefaultWindowsNativeDiscoveryStrategy.onGetDirectoryNames(DefaultWindowsNativeDiscoveryStrategy.java:56) at uk.co.caprica.vlcj.discovery.StandardNativeDiscoveryStrategy.getDirectoryNames(StandardNativeDiscoveryStrategy.java:44) at uk.co.caprica.vlcj.discovery.AbstractNativeDiscoveryStrategy.discover(AbstractNativeDiscoveryStrategy.java:59) at uk.co.caprica.vlcj.discovery.NativeDiscovery.discover(NativeDiscovery.java:118) at com.flaiker.bottimus.Main.main(Main.java:58) 470 [main] INFO uk.co.caprica.vlcj.discovery.NativeDiscovery - Discovery found libvlc at 'C:\Program Files (x86)\VideoLAN\VLC' Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'libvlc': Native library (win32-x86-64/libvlc.dll) not found in resource path ([file:/C:/Program%20Files%20(x86)/VideoLAN/VLC/bottimus-v1.0.2.jar]) at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:277) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:403) at com.sun.jna.Library$Handler.(Library.java:147) at com.sun.jna.Native.loadLibrary(Native.java:502) at com.sun.jna.Native.loadLibrary(Native.java:481) at uk.co.caprica.vlcj.binding.LibVlc.(LibVlc.java:115) at com.flaiker.bottimus.Main.main(Main.java:59)