]> git.sesse.net Git - vlc/blob - bindings/java/README
Java bindings update:
[vlc] / bindings / java / README
1
2             First of all, this is a *developers* only version
3
4
5 Usage
6 -----
7
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:
11
12 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
13
14  bootstrap, clean and configure:
15
16 ./bootstrap && make distclean
17 ./configure --enable-java-bindings && make && make install
18
19  If you give a prefix be sure to change the PREFIX variable in the Makefile
20 from /usr/local to your prefix.
21
22  Once you've done with vlc you can run make in jvlc directory. Be sure
23 you have gcj, gcjh and if you want to use the SUN Java compiler,
24 change the Makefile accordingly. You will probably need to change also 
25
26 JINCLUDES
27 LIBJINCLUDES
28
29  In the next releases I will automate this process.
30
31  To run a Java VLC example issue:
32
33 java -Djava.library.path=. VlcClient
34
35  Be sure your ldconfig can find libjawt.so and libmawt.so or you will
36 get linking errors when you run the program.
37
38  Happy playing.