Running TypeDB on an M1 MacBook

M1 MacBook users may see the following error when attempting to run TypeDB:

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/5v/95_mbj013y93vsmc8xps0stm0000gp/T/librocksdbjni8182124459810412816.jnilib
    at java.base/java.lang.ClassLoader.loadLibrary(
    at java.base/java.lang.Runtime.load0(
    at java.base/java.lang.System.load(

This error means that the installed JDK is not compatible with TypeDB on this operating system. Please take the following steps to resolve the issue:

  1. Visit
  2. Select OpenJDK version 11, the HotSpot JVM, the MacOS operating system and x64 architecture
  3. Download and install the first available JDK from the list (jdk- at the time of writing)
  4. Run java --version to verify that the JDK was correctly installed and is available on the system PATH
  5. Run TypeDB, which should now start up successfully