# Autopsy and sleuthkit JNI mismatch

**URL:** <https://sleuthkit.discourse.group/t/autopsy-and-sleuthkit-jni-mismatch/2951>\
**Category:** Autopsy on Linux / macOS\
**Created:** [November 18, 2021, 4:33pm UTC](https://sleuthkit.discourse.group/t/autopsy-and-sleuthkit-jni-mismatch/2951 "2021-11-18T16:33:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phillip](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@Phillip](https://sleuthkit.discourse.group/u/Phillip)\
**Post date:** [November 18, 2021, 4:33pm UTC](https://sleuthkit.discourse.group/t/autopsy-and-sleuthkit-jni-mismatch/2951/1 "2021-11-18T16:33:41Z")

</div>

Hello,  
I followed the excellent documentation provided by John\_lehr for installing on a MacBook with Catalina. I built the sleuth kit 4.11.1 and then Autopsy 4.19.2. However, when launching autopsy, I get an error linked to a mismatch in the JNI schema. It seems that the sleuthkit builds with a Java Runtime class file version 61.0, whereas my liberica bell jdk only recognises versions up to 52.0.  
Has anyone had this issue?  
Regards,

---

<div class="post-metadata">

**Author:** ![Phillip](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@Phillip](https://sleuthkit.discourse.group/u/Phillip)\
**Post date:** [November 19, 2021, 8:52am UTC](https://sleuthkit.discourse.group/t/autopsy-and-sleuthkit-jni-mismatch/2951/2 "2021-11-19T08:52:32Z")

</div>

Hello,  
I rechecked thread from question from Jeff "Unable to get autopsy to start on MAC v 10.14.6 and found the answer to my problem: I had not uninstalled the openjdk.  
I did this from brew (with the --force option), reset the symbolic link in /usr/local/opt/openjdk to point to the liberica jdk, rebuilt the sleuthkit, and finally reinstalled autopsy 4.19.2 with “sh unix\_setup.sh”.  
I now have a full menu to create new cases on my macbook pro under Catalina 😃  
Thanks to the community !
