Java - Test if VLC is installed [closed]

1

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?

    
asked by anonymous 18.08.2015 / 02:16

1 answer

0

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 .

    
18.08.2015 / 03:25