1Running "jni" module tests (as well as just using this module) requires 2being able to load libjvm.so, which requires path to it set via 3LD_LIBRARY_PATH environment variable. This path is not set automatically 4and there is no easy way to guess it, because there can be installed 5different implementations of JVM, for one implementation, there can be 6different versions, and single version may include different variants 7of JVM. 8 9For example, for OpenJDK 7 on x86_64, following may work: 10 11LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server ./run-tests jni/*.py 12 13