Caprica Software

vlcj 4.x Tutorial


Despite maven being pretty terrible and frustrating at times, it is probably the best build tool out there and it is recommended that you use it for your vlcj applications.

Maven Project

vlcj is available from the Maven Central Repository.

Add the following dependency to the dependencies section in your project pom.xml, this will add vlcj and the JNA dependencies to your project.


That's it!

If you are using maven with Eclipse, and if Eclipse is configured appropriately, this dependency will also pull in the sources and Javadoc for vlcj.

Non-Maven Project

If you are using a non-maven project, or otherwise a project that can not use maven dependencies, then you must manually add the vlcj jar file to your project, along with the vlcj-natives, jna and jna-platform jar files that vlcj depends on.

How you do this depends on how you build your project.


Online Javadoc is available.

Distribution Package

You can get everything you need, including sources and Javadoc, by downloading a vlcj distribution package: