vlc/bindings/java
2006-11-28 21:49:28 +00:00
..
org/videolan/jvlc jvlcpanel constructor added 2006-11-18 00:47:23 +00:00
src Fix abusive redefinition of implicit make rules 2006-11-21 16:46:49 +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 Fix missing output directory in JNI header generation in win32 part. 2006-11-28 21:49:28 +00:00
README readme update 2006-11-08 21:37:20 +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 setSize native function signature fixed 2006-11-01 11:25:05 +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 17559) 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.