]> git.sesse.net Git - vlc/blobdiff - bindings/java/README
basic instructions for maven2
[vlc] / bindings / java / README
index 14f33aed03d7e59a83945fd1250fe6afee72d100..2b438f4692eb275dafe26265568e41ac5129c8fe 100644 (file)
@@ -2,33 +2,25 @@
             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.