Add note on using system installed snappyjava native library

This commit is contained in:
Taro L. Saito 2011-08-16 11:24:22 +09:00
parent 1354d90401
commit 006425b288

View File

@ -54,3 +54,11 @@ $ make native
$ make clean-native native
= Using system installed libsnappyjava (or snappyjava.dll)
Use org.xerial.snappy.enable.bundled.libs system property:
java -Djava.library.path=(path to the installed snappyjava lib) -Dorg.xerial.snappy.enable.bundled.libs=false ...
With this setting snappy-java does not use bundled native libraries. Insted it tries to load native library installed at the path specified in java.library.path.