From 4568ece4afb07ababbba580478dbbb808e03965a Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 14 Feb 2013 08:36:45 -0700 Subject: [PATCH] add note about using an absolute path for the openjdk option --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1e35318627..52bf9c844e 100644 --- a/README.md +++ b/README.md @@ -249,9 +249,11 @@ where OpenJDK is installed, e.g.: 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) -from _/usr/lib/jvm/java-7-openjdk/jre_ at runtime. In this configuration, -OpenJDK needs to remain installed for Avian to work, and you can run -applications like this: +from _/usr/lib/jvm/java-7-openjdk/jre_ at runtime. Note that you must +use an absolute path here, or else the result will not work when run +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 \ com.example.MyApplication