java.lang.UnsatisfiedLinkError: no jnicuda in java.library.path

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.

Solutions on the web

via GitHub by sgatich
, 9 months ago
no jnicuda in java.library.path
via GitHub by jfolt
, 1 year ago
no jnicuda in java.library.path
via Stack Overflow by Unknown author, 2 years ago
no jniavcodec in java.library.path
via Stack Overflow by frodeborli
, 2 years ago
no jniopencv_objdetect in java.library.path
java.lang.UnsatisfiedLinkError: no jnicuda in java.library.path
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:925)
at org.bytedeco.javacpp.Loader.load(Loader.java:750)
at org.bytedeco.javacpp.Loader.load(Loader.java:657)
at org.bytedeco.javacpp.cuda.(cuda.java:10)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at org.bytedeco.javacpp.Loader.load(Loader.java:712)
at org.bytedeco.javacpp.Loader.load(Loader.java:657)
at org.bytedeco.javacpp.cublas.(cublas.java:12)
at org.nd4j.jita.allocator.context.impl.BasicContextPool.createNewCublasHandle(BasicContextPool.java:187)
at org.nd4j.jita.allocator.context.impl.LimitedContextPool.fillPoolWithResources(LimitedContextPool.java:84)
at org.nd4j.jita.allocator.context.impl.LimitedContextPool.(LimitedContextPool.java:50)
at org.nd4j.jita.handler.impl.CudaZeroHandler.(CudaZeroHandler.java:127)
at org.nd4j.jita.allocator.impl.AtomicAllocator.(AtomicAllocator.java:120)
at org.nd4j.jita.allocator.impl.AtomicAllocator.(AtomicAllocator.java:70)
at org.nd4j.linalg.jcublas.buffer.BaseCudaDataBuffer.(BaseCudaDataBuffer.java:72)
at org.nd4j.linalg.jcublas.buffer.factory.CudaDataBufferFactory.createHalf(CudaDataBufferFactory.java:396)
at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1311)
at org.nd4j.linalg.factory.Nd4j.createBuffer(Nd4j.java:1282)
at org.nd4j.linalg.factory.BaseNDArrayFactory.create(BaseNDArrayFactory.java:965)
at org.nd4j.linalg.factory.Nd4j.create(Nd4j.java:3254)
at org.deeplearning4j.examples.multigpu.MultiGpuLenetMnistExample.main(MultiGpuLenetMnistExample.java:45)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 6 days ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
84 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.