Running "jni" module tests (as well as just using this module) requiresbeing able to load libjvm.so, which requires path to it set viaLD_LIBRARY_PATH environment variable. This path is not set automaticallyand there is no easy way to guess it, because there can be installeddifferent implementations of JVM, for one implementation, there can bedifferent versions, and single version may include different variantsof JVM.For example, for OpenJDK 7 on x86_64, following may work:LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server ./run-tests jni/*.py
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。