# Cannot execute ./autopsy

**URL:** <https://sleuthkit.discourse.group/t/cannot-execute-autopsy/3384>\
**Category:** Autopsy on Linux / macOS\
**Created:** [August 31, 2022, 4:12pm UTC](https://sleuthkit.discourse.group/t/cannot-execute-autopsy/3384 "2022-08-31T16:12:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JieXuan](https://yyz2.discourse-cdn.com/free1/user_avatar/sleuthkit.discourse.group/jiexuan/32/1694_2.png) [@JieXuan](https://sleuthkit.discourse.group/u/JieXuan)\
**Post date:** [August 31, 2022, 4:12pm UTC](https://sleuthkit.discourse.group/t/cannot-execute-autopsy/3384/1 "2022-08-31T16:12:16Z")

</div>

Hi,

I have followed the steps [https://slo-sleuth.github.io/tools/InstallingAutopsyOnMacOS.html](https://slo-sleuth.github.io/tools/InstallingAutopsyOnMacOS.html) here to install Autopsy on my macOS Big Sur. But up till the last step, it shows Unable to locate a Java Runtime that supports (null) just like in the screenshot below. I’ve tried the troubleshooting steps and none of them seems to be the problem.

Please send some help​:sob:😭 Thank you!!

 ![Screenshot 2022-08-31 at 11.58.37 PM](https://global.discourse-cdn.com/free1/uploads/sleuthkit/original/2X/c/c3356fa1c8fb31d1841fc208edc729566ad1cd39.png)

---

<div class="post-metadata">

**Author:** ![hfisicaro](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@hfisicaro](https://sleuthkit.discourse.group/u/hfisicaro)\
**Post date:** [September 6, 2022, 10:32pm UTC](https://sleuthkit.discourse.group/t/cannot-execute-autopsy/3384/2 "2022-09-06T22:32:03Z")

</div>

I had the same problem.  
Try inserting jdkhome=“$JAVA\_HOME” as line 83 in “autopsy” file.  
Good luck

---

<div class="post-metadata">

**Author:** ![tt18](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@tt18](https://sleuthkit.discourse.group/u/tt18)\
**Post date:** [March 17, 2023, 9:55am UTC](https://sleuthkit.discourse.group/t/cannot-execute-autopsy/3384/3 "2023-03-17T09:55:41Z")

</div>

Can you send the path location to this file, I cannot find it. Thanks 🙂
