Commit 22089b32 authored by Filippo Carone's avatar Filippo Carone

Suggest to check/set JAVA_HOME if compilation fails

parent 973a35aa
...@@ -33,4 +33,16 @@ is really straightforward and simple to use. ...@@ -33,4 +33,16 @@ is really straightforward and simple to use.
Try the software and report any errors or bugs you find to me. This application Try the software and report any errors or bugs you find to me. This application
needs porting to MS/Windows and MacOS, if you are able to implement the JNI for needs porting to MS/Windows and MacOS, if you are able to implement the JNI for
these platforms you may contribute the code. these platforms you may contribute the code.
\ No newline at end of file
== 6. I have a compile error, what's the problem? ==
Did you set the JAVA_HOME environment variable? If not, do:
export JAVA_HOME=/path/to/jvm
For example I added to my .bashrc:
export JAVA_HOME=/usr/lib/j2sdk1.5-sun
...@@ -11,9 +11,13 @@ recommend you to take the latest version from videolan svn repository ...@@ -11,9 +11,13 @@ recommend you to take the latest version from videolan svn repository
svn co svn://svn.videolan.org/vlc/trunk vlc-trunk 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 ./bootstrap && make distclean
export JAVA_HOME=/path/to/jvm
(for example i have JAVA_HOME=/usr/lib/j2sdk1.5-sun)
./configure --enable-java-bindings && make && make install ./configure --enable-java-bindings && make && make install
If you give a prefix be sure to change the PREFIX variable in the Makefile If you give a prefix be sure to change the PREFIX variable in the Makefile
......
Thanks to:
* Kuldipsingh Pabla
for solaris port and various contributions to the native interface.
* Tvrtko Bedekovic
for initial win32 port
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment