]> git.sesse.net Git - vlc/blobdiff - bindings/java/README
Add Next, Prev, and Stop methods
[vlc] / bindings / java / README
index 808246376b740cb72a13f7dcf228d371e9d4c395..6b67ec99ff52346e07c4408ac059aa85f3021bb6 100644 (file)
@@ -7,17 +7,21 @@ 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
-by doing:
+(or use at least revison 17559) by doing:
 
 svn co svn://svn.videolan.org/vlc/trunk vlc-trunk
 
- bootstrap and configure. At the configure give the command:
+ bootstrap, clean, set environment variables, configure and build:
 
-./configure --enable-mozilla && make && make install
+./bootstrap && make distclean
 
- 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.
+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,
@@ -28,11 +32,11 @@ LIBJINCLUDES
 
  In the next releases I will automate this process.
 
- To run JVLC issue:
+ 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.
\ No newline at end of file
+ Happy playing.