add note about using an absolute path for the openjdk option

This commit is contained in:
Joel Dice 2013-02-14 08:36:45 -07:00
parent 66108032a6
commit 4568ece4af

View File

@ -249,9 +249,11 @@ where OpenJDK is installed, e.g.:
This will build Avian as a conventional JVM (e.g. libjvm.so) which This will build Avian as a conventional JVM (e.g. libjvm.so) which
loads its boot class library and native libraries (e.g. libjava.so) loads its boot class library and native libraries (e.g. libjava.so)
from _/usr/lib/jvm/java-7-openjdk/jre_ at runtime. In this configuration, from _/usr/lib/jvm/java-7-openjdk/jre_ at runtime. Note that you must
OpenJDK needs to remain installed for Avian to work, and you can run use an absolute path here, or else the result will not work when run
applications like this: from other directories. In this configuration, OpenJDK needs to
remain installed for Avian to work, and you can run applications like
this:
$ build/linux-x86_64-openjdk/avian-dynamic -cp /path/to/my/application \ $ build/linux-x86_64-openjdk/avian-dynamic -cp /path/to/my/application \
com.example.MyApplication com.example.MyApplication