]> git.sesse.net Git - vlc/blobdiff - bindings/java/README
ncurses: new box representing the vlc objects hierarchy (similar to rc's "tree" command)
[vlc] / bindings / java / README
index 6f2d0f8d45c31fa3fdad8c5a7be5990ac3e2f990..14f33aed03d7e59a83945fd1250fe6afee72d100 100644 (file)
@@ -7,30 +7,26 @@ 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:
+(or use at least revison 18443) by doing:
 
 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
 
- bootstrap, clean and configure:
+ bootstrap, clean, set environment variables, configure and build:
 
-./bootstrap && make distclean
-./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.
+./bootstrap
 
- 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 
+export JAVA_HOME=/path/to/jvm 
+(for example i have JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun)
 
-JINCLUDES
-LIBJINCLUDES
+./configure --enable-java-bindings && make && make install
 
- In the next releases I will automate this process.
+ To run a Java VLC example issue (be sure you have an a.avi and a.mp3 files
+in your user.dir folder):
 
- To run a Java VLC example issue:
+java -Djava.library.path=/usr/local/lib VLCExample
 
-java -Djava.library.path=. VlcClient
+(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.