Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Java JNI Can't find dependent libraries

$
0
0

I want to call ipp function via JNI. So I compiled dlls using c++ and I put these dlls into my Java project lib folder.

but when I call one ipp function jipp.core.ippGetCpuType(), it gives me error like: 

Exception in thread "main" java.lang.UnsatisfiedLinkError: D:\DevelopJava\MyIPP\lib\jippcore.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at jipp.core.<clinit>(core.java:42)
at client.zero.main(zero.java:16)

but I already set java.library.path include intel path like:

\Program Files (x86)\Intel\Composer XE 2013\redist\intel64\ipp

D:\Program Files (x86)\Intel\Composer XE 2013\redist\intel64\compiler

so ,anyone can help me ?


Viewing all articles
Browse latest Browse all 1489

Trending Articles