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
12 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
14 bootstrap and configure. At the configure give the command:
16 ./configure --enable-mozilla && make && make install
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.
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
29 In the next releases I will automate this process.
33 java -Djava.library.path=. VlcClient
35 Be sure your ldconfig can find libjawt.so and libmawt.so or you will
36 get linking errors when you run the program.
38 To try the SWT version of the player, issue:
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
43 using the appropriate paths.