autopsy icon indicating copy to clipboard operation
autopsy copied to clipboard

Autopsy - Cannot find Java

Open Mackousko12 opened this issue 4 years ago • 0 comments

Hello,

Recently I tried to use the Autopsy (4.15.0) and I started to get the following error, not sure what happened but it was working fine around last month. Then I reinstalled it (4.18.0) as per the instructions listed here

`The operation couldn’t be completed. Unable to locate a Java Runtime that supports (null). Please visit http://www.java.com for information on installing Java.

Cannot find java. Please use the --jdkhome switch.`

OS Details: macOS Big Sur (V 11.4)

Following is my Java configs:

`java -version openjdk version "1.8.0_292" OpenJDK Runtime Environment (build 1.8.0_292-b10) OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

echo $JAVA_HOME /Library/Java/JavaVirtualMachines/liberica-jdk-8-full.jdk/Contents/Home

whereis java /usr/bin/java

ls -l /usr/local/opt/openjdk lrwxr-xr-x 1 user admin 71 1 Jul 08:40 /usr/local/opt/openjdk -> /Library/Java/JavaVirtualMachines/liberica-jdk-8-full.jdk/Contents/Home ` Appreciate any help that could resolve this issue.

Thanks

Mackousko12 avatar Jul 01 '21 08:07 Mackousko12