From 006425b288ee22ed06b2d3998047ea4cf4031a71 Mon Sep 17 00:00:00 2001 From: "Taro L. Saito" Date: Tue, 16 Aug 2011 11:24:22 +0900 Subject: [PATCH] Add note on using system installed snappyjava native library --- INSTALL | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/INSTALL b/INSTALL index ec4c544..f52c450 100755 --- a/INSTALL +++ b/INSTALL @@ -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. +