]> git.sesse.net Git - vlc/blob - bindings/java/README
14f33aed03d7e59a83945fd1250fe6afee72d100
[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 18443) by doing:
11
12 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
13
14  bootstrap, clean, set environment variables, configure and build:
15
16 ./bootstrap
17
18 export JAVA_HOME=/path/to/jvm 
19 (for example i have JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun)
20
21 ./configure --enable-java-bindings && make && make install
22
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):
25
26 java -Djava.library.path=/usr/local/lib VLCExample
27
28 (if you have specified a prefix in configure, change /usr/local/lib to 
29 PREFIX/lib)
30
31  Be sure your ldconfig can find libjawt.so and libmawt.so or you will
32 get linking errors when you run the program.
33
34  Happy playing.