2 First of all, this is a *developers* only version
8 In order to use these bindings you have to compile vlc from source. I
9 recommend you to take the latest version from videolan svn repository
10 (or use at least revison 18443) by doing:
12 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
14 bootstrap, clean, set environment variables, configure and build:
18 export JAVA_HOME=/path/to/jvm
19 (for example i have JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun)
21 ./configure --enable-java-bindings && make && make install
23 To run a Java VLC example issue (be sure you have an a.avi and a.mp3 files
24 in your user.dir folder):
26 java -Djava.library.path=/usr/local/lib VLCExample
28 (if you have specified a prefix in configure, change /usr/local/lib to
31 Be sure your ldconfig can find libjawt.so and libmawt.so or you will
32 get linking errors when you run the program.