First of all, this is a *developers* only version
-Usage
------
+Compiling JVLC
+--------------
- 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 18443) by doing:
+ JVLC uses maven2 as a project the management tool, take a look at
-svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
+http://maven.apache.org
- bootstrap, clean, set environment variables, configure and build:
+ to download and for general instructions on how to use it.
-./bootstrap
+ To compile the project, run from the bindings/java folder:
-export JAVA_HOME=/path/to/jvm
-(for example i have JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun)
+mvn install
-./configure --enable-java-bindings && make && make install
+ To import the jvlc project into the eclipse IDE:
- To run a Java VLC example issue (be sure you have an a.avi and a.mp3 files
-in your user.dir folder):
+mvn eclipse:eclipse
-java -Djava.library.path=/usr/local/lib VLCExample
+ and the import as an existing Java project.
-(if you have specified a prefix in configure, change /usr/local/lib to
-PREFIX/lib)
- Be sure your ldconfig can find libjawt.so and libmawt.so or you will
-get linking errors when you run the program.
Happy playing.