I am trying make a messenger program in Java that has a video player in it, so I'm using vlcj. But I receive this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
Unable to load library 'libvlc':
The specified module could not be found.
I have followed the tutorials from here, but I still get this error. This is the only error that I get.
I'm running on Windows 7 x64 Ultimate with a x64 VLC. I'm coding using the latest Eclipse version.
Can anyone guide me step-by-step on how to fix this?
you have to add "libvlc" and "libvlccore" dll path in your application. these will be present into your vlc installation folder. you can add following line of code to get it working.
NativeLibrary.addSearchPath("libvlc", "C:/VideoLAN/VLC");
here "C:/VideoLAN/VLC" is installation folder of vlc.