Create a vlcj project that uses Maven
npm install -g yonpm install -g generator-vlcj
Then generate your new project:
Yeoman will ask you a number of questions that will be used to tailor the generated project how you want it.
The generated project contains an example main class with the bare minimum code necessary to get a working vlcj media player.
There are two project variations - one uses the vlcj media player "component" framework, the other uses a media player factory.
The version that uses the component framework is a bit simpler as the component framework encapsulates the creation of a media player factory and a video surface.
The version that does not use the component framework shows explicitly creating a media player factory, a video surface and a media player.
Both approaches are valid and current with vlcj, use whichever one suits you best.
Your generated project can be built the usual way using
GPL-3.0 © capricasoftware