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 15823) by doing:
12 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
14 bootstrap, clean, set environment variables, configure and build:
16 ./bootstrap && make distclean
18 export JAVA_HOME=/path/to/jvm
19 (for example i have JAVA_HOME=/usr/lib/j2sdk1.5-sun)
21 ./configure --enable-java-bindings && make && make install
23 If you give a prefix be sure to change the PREFIX variable in the Makefile
24 from /usr/local to your prefix.
26 Once you've done with vlc you can run make in jvlc directory. Be sure
27 you have gcj, gcjh and if you want to use the SUN Java compiler,
28 change the Makefile accordingly. You will probably need to change also
33 In the next releases I will automate this process.
35 To run a Java VLC example issue:
37 java -Djava.library.path=. VlcClient
39 Be sure your ldconfig can find libjawt.so and libmawt.so or you will
40 get linking errors when you run the program.