jni version, just needs to properly load the lib

Signed-off-by: Mattias Andrée <maandree@operamail.com>