1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00
vlc/bindings/java
2006-08-13 19:33:16 +00:00
..
org/videolan/jvlc Java Bindings synched with lastest version. 2006-08-02 14:11:17 +00:00
src Distribute the java bindings in the tarball 2006-08-13 19:33:16 +00:00
FAQ Report in the FAQ that --enable-java-bindings works in win32. 2006-07-17 08:37:09 +00:00
javadoc.xml Java bindings by Filippo Carone. 2005-11-26 17:31:37 +00:00
Makefile.am Distribute the java bindings in the tarball 2006-08-13 19:33:16 +00:00
README Suggest to check/set JAVA_HOME if compilation fails 2006-06-07 15:20:08 +00:00
THANKS Java bindings update. 2006-06-10 13:58:03 +00:00
TODO Java bindings by Filippo Carone. 2005-11-26 17:31:37 +00:00
VlcClient.java Sync bindings/java with jvlc head (release is close ;). 2006-07-26 14:15:08 +00:00
VLCExample.java Java Bindings synched with lastest version. 2006-08-02 14:11:17 +00:00

            First of all, this is a *developers* only version


Usage
-----

 In order to use these bindings you have to compile vlc from source. I
recommend you to take the latest version from videolan svn repository
(or use at least revison 15823) by doing:

svn co svn://svn.videolan.org/vlc/trunk vlc-trunk

 bootstrap, clean, set environment variables, configure and build:

./bootstrap && make distclean

export JAVA_HOME=/path/to/jvm 
(for example i have JAVA_HOME=/usr/lib/j2sdk1.5-sun)

./configure --enable-java-bindings && make && make install

 If you give a prefix be sure to change the PREFIX variable in the Makefile
from /usr/local to your prefix.

 Once you've done with vlc you can run make in jvlc directory. Be sure
you have gcj, gcjh and if you want to use the SUN Java compiler,
change the Makefile accordingly. You will probably need to change also 

JINCLUDES
LIBJINCLUDES

 In the next releases I will automate this process.

 To run a Java VLC example issue:

java -Djava.library.path=. VlcClient

 Be sure your ldconfig can find libjawt.so and libmawt.so or you will
get linking errors when you run the program.

 Happy playing.