]> git.sesse.net Git - vlc/blobdiff - bindings/java/README
basic instructions for maven2
[vlc] / bindings / java / README
index 808246376b740cb72a13f7dcf228d371e9d4c395..2b438f4692eb275dafe26265568e41ac5129c8fe 100644 (file)
@@ -2,37 +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
-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 and configure. At the configure give the command:
+ to download and for general instructions on how to use it.
 
-./configure --enable-mozilla && make && make install
+ To compile the project, run from the bindings/java folder:
 
- to enable compilation of _pic version of libraries. If you give a
-prefix be sure to change the PREFIX variable in the Makefile from
- /usr/local to your prefix.
+mvn install
 
- 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 
+ To import the jvlc project into the eclipse IDE:
 
-JINCLUDES
-LIBJINCLUDES
+mvn eclipse:eclipse
 
In the next releases I will automate this process.
and the import as an existing Java project.
 
- To run JVLC 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.
\ No newline at end of file
+ Happy playing.