I'd like to ship a self-contained java app using vlcj and read the SAQs (http://code.google.com/p/vlcj/wiki/SAQ) which suggested this was possible if one ships all of the shared objects or DLL's for libvlc and the vlc plugins needed. Could someone please help with how this might be practically done? Thanks, D
I have done this. What I did was package the dll's and plugin's directory with the app. I placed it in the lib directory.
I then added the path to the VLCj libraries to the command line arguments -Djna.library.path={Application Location}/lib
Directory contents
lib
-- libblc.dll
-- libvlc5.dll
-- {etc}
/plugins
/3dnow
/access
{etc}
The trick is that you have to be careful what target OS you are shooting for. I limited the app to use Windows only. To use multiple operating systems, you have to carefully select the correct native libraries.
Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With