Hello! I am developing a mod project for Minecraft and need to check if the VLC is installed and the VLCj can run normally, if you do not need to close the game it is to show a message. Does anyone know how I could do the scanning part?
Hello! I am developing a mod project for Minecraft and need to check if the VLC is installed and the VLCj can run normally, if you do not need to close the game it is to show a message. Does anyone know how I could do the scanning part?
If I understand correctly, it is possible to use a routine from the VLCj library itself for this.
The method discover
of class NativeDiscovery
searches the native libraries libvlc
and returns true
if they are found or false
if they are not.
To use the class above you will probably also need to instantiate a StandardNativeDiscoveryStrategy
.