]> git.sesse.net Git - vlc/blob - bindings/java/README
Makefile updated for new java bindings classes.
[vlc] / bindings / java / README
1 $Id$
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 by doing:
11
12 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
13
14  bootstrap and configure. At the configure give the command:
15
16 ./configure --enable-mozilla && make && make install
17
18  to enable compilation of _pic version of libraries. If you give a
19 prefix be sure to change the PREFIX variable in the Makefile from
20  /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 JVLC 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  To try the SWT version of the player, issue:
39
40 javac -cp /usr/share/java/swt-gtk.jar:. SWTUglyPlayer.java
41 java -cp /usr/share/java/swt-gtk.jar:. -Djava.library.path=.:/usr/lib/jni SWTUglyPlayer
42
43  using the appropriate paths.
44
45  Happy playing.