sleuthkit/autopsy

Issue with Launching Autopsy

Opened this issue · 0 comments

Hello

I am having issues again trying to launch Autopsy from terminal on my Mac. The last time I experienced this, I received the following error:

java.lang.UnsupportedClassVersionError: org/sleuthkit/datamodel/TskCoreException has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0

So I ended up resolving it by upgrading Java.

Now, I am not sure why it is giving me issues once again. The error message is the same. I ended up upgrading to Java 22 and made sure the versions matched using the following commands:
java -version
javac -version

I also made sure that my directory included the updated jdk: /Library/Java/JavaVirtualMachines/jdk-22.jdk/Contents/Home

I still have autopsy 4.21.0 installed.