Reputation: 1877
I'm running a simple JUnit Test and in its execution I got this error:
java.lang.UnsatisfiedLinkError: no jmupdf64 in java.library.path
any help?
Upvotes: 2
Views: 3933
Reputation: 2770
You need to add this JVM option:
-Djava.library.path="<the directory of jmupdf64>"
For Mac OSX:
You need to create libjmupdf64.dylib
Download source code from: http://code.google.com/p/jmupdf/downloads/list
Commenting out Line#67 file: ./thirdparty/tifflib/tif_config.h
:
// #define lfind _lfind
Need to more settings for OSX:
CFLAGS
in ./Makefile.JNI_DLL
to libjmupdf64.dylib
.Make lib:
$ make
Upvotes: 1