# Fdb-java on macOS catalina throwing error Library not loaded: libfdb\_c.dylib

**URL:** https://forums.foundationdb.org/t/fdb-java-on-macos-catalina-throwing-error-library-not-loaded-libfdb-c-dylib/1894
**Category:** Using FoundationDB
**Created:** [January 22, 2020, 5:58pm UTC](https://forums.foundationdb.org/t/fdb-java-on-macos-catalina-throwing-error-library-not-loaded-libfdb-c-dylib/1894 "2020-01-22T17:58:20Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![tuk](https://avatars.discourse-cdn.com/v4/letter/t/b5ac83/32.png) [@tuk](https://forums.foundationdb.org/u/tuk)
#### Post date: [February 26, 2020, 5:39pm UTC](https://forums.foundationdb.org/t/fdb-java-on-macos-catalina-throwing-error-library-not-loaded-libfdb-c-dylib/1894/5 "2020-02-26T17:39:11Z")

</div>

We were seeing the problem with the below jdk version

```
dmanna-a01:~ dmanna$ java -version
openjdk version "1.8.0_242"
OpenJDK Runtime Environment (Zulu 8.44.0.10-SA-macosx) (build 1.8.0_242-b20)
OpenJDK 64-Bit Server VM (Zulu 8.44.0.10-SA-macosx) (build 25.242-b20, mixed mode)

```

The main problem seems to be that the fdb binaries are not notarized / signed as per Apple’s requirements.

Azul JDK notarizes the distribution with a more recent secure certificate, however, AdoptOpenJDK and Oracle use older certificates. Thus the Zulu distributions are stricter and does not allow unsigned JNI applications to load libraries from unsecured locations on Catalina.

It seems the pass given to Oracle and AdoptOpenJDK will stop soon, will be forced to update the certificates and will behave similar to Zulu. See [this](https://appleinsider.com/articles/19/12/23/apple-will-enforce-app-notarization-for-macos-catalina-in-february).

Azul has published the following tech doc for this

> **[On MacOS 10.15.3 and later, Zulu Java doesn't load the JNI Libraries my...](https://support.azul.com/hc/en-us/articles/360039650212-On-MacOS-10-15-3-and-later-Zulu-Java-doesn-t-load-the-JNI-Libraries-my-Application-needs)**
>
> Issue
> An application using a JNI library which loads a library from /usr/local/lib throws a java.lang.UnsatisfiedLinkError like the following:
> java.lang.UnsatisfiedLinkError: /path/to/lib/libfoo\_ja...

@alloc - Any thoughts on this?

---

_[View the full topic](https://forums.foundationdb.org/t/fdb-java-on-macos-catalina-throwing-error-library-not-loaded-libfdb-c-dylib/1894)._
