# Autopsy not running on MacOS Ventura 13.4.1 - Java Errors

**URL:** <https://sleuthkit.discourse.group/t/autopsy-not-running-on-macos-ventura-13-4-1-java-errors/3861>\
**Category:** Autopsy on Linux / macOS\
**Created:** [July 20, 2023, 2:48pm UTC](https://sleuthkit.discourse.group/t/autopsy-not-running-on-macos-ventura-13-4-1-java-errors/3861 "2023-07-20T14:48:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harryhaller](https://avatars.discourse-cdn.com/v4/letter/h/35a633/32.png) [@harryhaller](https://sleuthkit.discourse.group/u/harryhaller)\
**Post date:** [July 20, 2023, 2:48pm UTC](https://sleuthkit.discourse.group/t/autopsy-not-running-on-macos-ventura-13-4-1-java-errors/3861/1 "2023-07-20T14:48:02Z")

</div>

I’ve tried to get Autopsy working on a MacBook Pro Ventura 13.4.1. I’ve done every step described seen on [https://github.com/sleuthkit/autopsy/blob/develop/Running\_Linux\_OSX.md](https://github.com/sleuthkit/autopsy/blob/develop/Running_Linux_OSX.md). Everything (compilings, autopsy self checks ond so on) worked fine.

But by trying to start autopsy i’ve got errors because of a missing Java. No problem, i fixed it in autopsy.conf by adding a line jdkhome=$JAVA\_HOME at the end.

Then i tried to start autopsy and i always get an empty gray screen and Java-Errors like the following:

Start error message  
Juli 20, 2023 4:30:23 PM org.netbeans.ProxyURLStreamHandlerFactory register  
SCHWERWIEGEND: No way to find original stream handler for jar protocol  
java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible: module java.base does not “opens [java.net](http://java.net)” to unnamed module @1936f0f5  
at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:387)  
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:363)  
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:311)  
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:181)  
at java.base/java.lang.reflect.Field.setAccessible(Field.java:175)  
at org.netbeans.ProxyURLStreamHandlerFactory.register(ProxyURLStreamHandlerFactory.java:59)  
at org.netbeans.JarClassLoader.(JarClassLoader.java:117)  
at org.netbeans.MainImpl.execute(MainImpl.java:153)  
at org.netbeans.MainImpl.main(MainImpl.java:60)  
at org.netbeans.Main.main(Main.java:58)

java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release  
at java.base/java.lang.System.setSecurityManager(System.java:429)  
at org.netbeans.TopSecurityManager.install(TopSecurityManager.java:525)  
at org.netbeans.core.NbLifecycleManager.advancePolicy(NbLifecycleManager.java:69)  
at org.netbeans.core.GuiRunLevel.run(GuiRunLevel.java:84)  
at org.netbeans.core.startup.Main.start(Main.java:295)  
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)  
at java.base/java.lang.Thread.run(Thread.java:1623)

End errormessage

I’ve tried different java-versions (which you can see below copied from my terminal):

theUser@DDK-MB03-23 ~ % j17

* * *

openjdk version “17.0.7” 2023-04-18  
OpenJDK Runtime Environment Homebrew (build 17.0.7+0)  
OpenJDK 64-Bit Server VM Homebrew (build 17.0.7+0, mixed mode, sharing)  
JavaHome: /opt/homebrew/Cellar/openjdk@17/17.0.7/libexec/openjdk.jdk/Contents/Home

* * *

theUser@DDK-MB03-23 ~ % j20

* * *

openjdk version “20.0.1” 2023-04-18  
OpenJDK Runtime Environment Temurin-20.0.1+9 (build 20.0.1+9)  
OpenJDK 64-Bit Server VM Temurin-20.0.1+9 (build 20.0.1+9, mixed mode)  
JavaHome: /Library/Java/JavaVirtualMachines/temurin-20.jdk/Contents/Home

* * *

Has anybody any ideas what and how to fix?

I’ve tried to work with earlier java-versions too, but then i’ll get other errors like that:

Start errormessage  
org.netbeans.InvalidException: StandardModule:org.sleuthkit.autopsy.core jarFile: /Users/petersopka/autopsy/autopsy-4.19.2/autopsy/modules/org-sleuthkit-autopsy-core.jar: java.lang.UnsupportedClassVersionError: org/sleuthkit/datamodel/SleuthkitJNI has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0  
End errormessage

No wonder, Java 1.8 and 11 seems to be to old.
