# Error after upgrade to 1.0.0-beta7

**URL:** <https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676>\
**Category:** ND4J\
**Created:** [July 2, 2020, 10:25pm UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676 "2020-07-02T22:25:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lavajaw](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/lavajaw/32/118_2.png) [@lavajaw](https://community.konduit.ai/u/lavajaw)\
**Post date:** [July 2, 2020, 10:25pm UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676/1 "2020-07-02T22:25:41Z")

</div>

Hello,  
I have problem with error after upgrading from beta6 to beta7.

My gradle file:

```auto
dependencies {
    implementation 'org.deeplearning4j:deeplearning4j-core:1.0.0-beta7'
    implementation 'org.deeplearning4j:deeplearning4j-ui:1.0.0-beta7'
    implementation 'ch.qos.logback:logback-classic:1.2.3'
    implementation 'org.projectlombok:lombok:1.18.12'

    implementation group: 'org.nd4j', name: 'nd4j-cuda-10.2-platform', version: '1.0.0-beta7'
    implementation group: 'org.deeplearning4j', name: 'deeplearning4j-cuda-10.2', version: '1.0.0-beta7'

    implementation group: 'org.bytedeco', name: 'cuda', version: '10.2-7.6-1.5.3'
}

```

I have instaled latest nvida driver, cuda 10.2 and cudnn 7.6.5.

Errors:

```auto
Caused by: java.lang.RuntimeException: ND4J is probably missing dependencies. For more information, please refer to: https://deeplearning4j.konduit.ai/nd4j/backend

Caused by: java.lang.UnsatisfiedLinkError: no jnind4jcuda in java.library.path: [C:\Program Files\Java\jdk-14.0.1\bin, C:\WINDOWS\Sun\Java\bin, C:\WINDOWS\system32, C:\WINDOWS, C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin, C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\libnvvp, C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin, C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\libnvvp,...

Caused by: java.lang.UnsatisfiedLinkError: C:\Users\rogov\.javacpp\cache\nd4j-cuda-10.2-1.0.0-beta7-windows-x86_64.jar\org\nd4j\nativeblas\windows-x86_64\jnind4jcuda.dll: Can't find dependent libraries

```

---

<div class="post-metadata">

**Author:** ![treo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/treo/32/47_2.png) [@treo](https://community.konduit.ai/u/treo)\
**Post date:** [July 3, 2020, 5:52am UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676/2 "2020-07-03T05:52:45Z")

</div>

The one thing that jumps out at me here is that you are referencing `org.bytedeco:cuda` which is just the low level cuda api. If you wanted to have the cuda drivers with cudnn, it would be the `cuda-platform-redist` artifact instead.

If that is actually what you wanted to do, and you want to use the installed drivers, we’ll have to figure out what is keeping it from actually loading it. You can use [GitHub - lucasg/Dependencies: A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.](https://github.com/lucasg/Dependencies) to load C:\Users\rogov.javacpp\cache\nd4j-cuda-10.2-1.0.0-beta7-windows-x86\_64.jar\org\nd4j\nativeblas\windows-x86\_64\jnind4jcuda.dll and figure out what the library is that it is missing.

Sometimes you have too much on your library path, and things conflict with each other.

---

<div class="post-metadata">

**Author:** ![Dris101](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@Dris101](https://community.konduit.ai/u/Dris101)\
**Post date:** [July 3, 2020, 1:04pm UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676/3 "2020-07-03T13:04:21Z")

</div>

Strongly agree on using Dependencies as suggested above. I had a slew of these when I went to Beta 7 which I tracked down using Dependencies to be missing Microsoft Visual C++ Redistributables. I would never have found that out otherwise. You may well find that Dependencies in its full form will fall foul of your Anti-Virus as one of the files it includes will get flagged. Just get the version which says “If you’re running an AV, use this download”. It does everything you will need.

---

<div class="post-metadata">

**Author:** ![treo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/treo/32/47_2.png) [@treo](https://community.konduit.ai/u/treo)\
**Post date:** [July 3, 2020, 1:07pm UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676/4 "2020-07-03T13:07:18Z")

</div>

> [@Dris101](#):
>
> Beta 7 which I tracked down using Dependencies to be missing Microsoft Visual C++ Redistributables.

Oh, good to know!

Can you open an issue with more details about that? Usually DL4J doesn’t require any additional redistributables.

---

<div class="post-metadata">

**Author:** ![Dris101](https://avatars.discourse-cdn.com/v4/letter/d/94ad74/32.png) [@Dris101](https://community.konduit.ai/u/Dris101)\
**Post date:** [July 3, 2020, 1:23pm UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676/5 "2020-07-03T13:23:00Z")

</div>

I seem to have 11 of those things installed and I think it was pure chance that the ones I needed were not part of the 9 I already had! Screengrab from Dependencies for jnind4jcuda.dll  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/konduit/original/1X/9a90b3ff50df29836688b0c590fc76b8939fd098.png)

I think I was missing VCRUNTIME\_140\_1.dll. The issue from a DL4J perspective I think is more one about documentation than anything else. Not really a “bug” per se. I’ll raise an issue to that effect if that makes sense?

---

<div class="post-metadata">

**Author:** ![treo](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/treo/32/47_2.png) [@treo](https://community.konduit.ai/u/treo)\
**Post date:** [July 3, 2020, 1:25pm UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676/6 "2020-07-03T13:25:40Z")

</div>

Yes, either it has to be documented, or it has to work without it 🙂  
Ideally it should work with out it, as usually starting with DL4J is as simple as adding two dependencies. One for the core functionality and one to choose the backend.

---

<div class="post-metadata">

**Author:** ![saudet](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/saudet/32/69_2.png) [@saudet](https://community.konduit.ai/u/saudet)\
**Post date:** [July 3, 2020, 11:13pm UTC](https://community.konduit.ai/t/error-after-upgrade-to-1-0-0-beta7/676/7 "2020-07-03T23:13:36Z")

</div>

That’s been fixed: [\* Bundle also the `vcruntime140_1.dll` and `msvcp140_1.dll` redist f… · bytedeco/javacpp@524c8ec · GitHub](https://github.com/bytedeco/javacpp/commit/524c8ec9f08c84f4fbb0bd843d5b6a5ee3f7ddd8)
