Last week I installed autopsy and everything went well until I tried launching it. The program came up but had the following error:
org.netbeans.InvalidException: StandardModule:org.sleuthkit.autopsy.core jarFile: /Users/jeffreyschwartz/Downloads/autopsy-4.14.0/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 57.0), this version of the Java Runtime only recognizes class file versions up to 52.0
I clicked OK or something, I do not remember what, and the program loaded except that there was no words inside of the window. After that, the window opened but no text.
Using my motto, a little bit of knowledge is dangerous, researched, and tried to fix the issue basically by downloading Sluthkit from the source. Now when I try to start the program it starts, I see the logo and then a blank white box which crashes and disappears.
Below is everything from the initial install.
jeffreyschwartz@jeffreys-MacBook-Pro:~$ java -version
openjdk version “1.8.0_242”
OpenJDK Runtime Environment (build 1.8.0_242-b07)
OpenJDK 64-Bit Server VM (build 25.242-b07, mixed mode)
- Install of programs
jeffreyschwartz@jeffreys-MacBook-Pro:~ brew install testdisk
Warning: testdisk 7.1 is already installed and up-to-date
To reinstall 7.1, run `brew reinstall testdisk`
jeffreyschwartz@jeffreys-MacBook-Pro:~ brew tap bell-sw/liberica
==> Tapping bell-sw/liberica
Cloning into ‘/usr/local/Homebrew/Library/Taps/bell-sw/homebrew-liberica’…
remote: Enumerating objects: 201, done.
remote: Counting objects: 100% (201/201), done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 201 (delta 108), reused 139 (delta 66), pack-reused 0
Receiving objects: 100% (201/201), 31.22 KiB | 1.49 MiB/s, done.
Resolving deltas: 100% (108/108), done.
Tapped 19 casks and 11 formulae (56 files, 83KB).
jeffreyschwartz@jeffreys-MacBook-Pro:~ brew cask install liberica-jdk8
==> Downloading https://download.bell-sw.com/java/8u242%2B7/bellsoft-jdk8u242%2B7-macos-amd64.pkg
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'liberica-jdk8'.
==> Installing Cask liberica-jdk8
==> Running installer for liberica-jdk8; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
Password:
installer: Package name is Liberica JDK 8u242+7
installer: Installing at base path /
installer: The install was successful.
🍺 liberica-jdk8 was successfully installed!
jeffreyschwartz@jeffreys-MacBook-Pro:~ export JAVA_HOME=(/usr/libexec/java_home -v 1.8)
jeffreyschwartz@jeffreys-MacBook-Pro:~ brew install sleuthkit
==> Installing dependencies for sleuthkit: openssl@1.1, gdbm, readline, sqlite, xz, python@3.8, afflib, libewf, krb5, libpq and openjdk
==> Installing sleuthkit dependency: openssl@1.1
==> Downloading https://homebrew.bintray.com/bottles/openssl@1.1-1.1.1f.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/25/25ab844d2f14fc85c7f52958b4b89bdd2965bbd9c557445829eff6473f238744?gda=exp=
######################################################################## 100.0%
==> Pouring openssl@1.1-1.1.1f.mojave.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH run:
echo ‘export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"’ >> ~/.bash_profile
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
==> Summary
/usr/local/Cellar/openssl@1.1/1.1.1f: 8,057 files, 18MB
==> Installing sleuthkit dependency: gdbm
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1.mojave.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring gdbm-1.18.1.mojave.bottle.1.tar.gz
/usr/local/Cellar/gdbm/1.18.1: 20 files, 586.8KB
==> Installing sleuthkit dependency: readline
==> Downloading https://homebrew.bintray.com/bottles/readline-8.0.4.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/29/29f7102a730ab39c8312cad1e7e439f6da2a67c452ce2b3380581eb185a5d8e8?gda=exp=
######################################################################## 100.0%
==> Pouring readline-8.0.4.mojave.bottle.tar.gz
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BSD libedit.
For compilers to find readline you may need to set:
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
==> Summary
/usr/local/Cellar/readline/8.0.4: 48 files, 1.5MB
==> Installing sleuthkit dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.31.1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/db/db7e3a6498bfdb4b4ceb8e8416020e2ad70de14975437f2e2a027485daeb2202?gda=exp=
######################################################################## 100.0%
==> Pouring sqlite-3.31.1.mojave.bottle.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have sqlite first in your PATH run:
echo ‘export PATH="/usr/local/opt/sqlite/bin:$PATH"’ >> ~/.bash_profile
For compilers to find sqlite you may need to set:
export LDFLAGS="-L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include"
==> Summary
/usr/local/Cellar/sqlite/3.31.1: 11 files, 4MB
==> Installing sleuthkit dependency: xz
==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/44/44483961b5d2b535b0ece1936c9d40b4bc7d9c7281646cca0fb476291ab9d4dc?gda=exp=
######################################################################## 100.0%
==> Pouring xz-5.2.5.mojave.bottle.tar.gz
/usr/local/Cellar/xz/5.2.5: 92 files, 1.1MB
==> Installing sleuthkit dependency: python@3.8
==> Downloading https://homebrew.bintray.com/bottles/python@3.8-3.8.2.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/51/511b4f2c3993f000516938ed0700936c8a7d8c054b5171fa733ac7d344291c30?gda=exp=
######################################################################## 100.0%
==> Pouring python@3.8-3.8.2.mojave.bottle.tar.gz
==> /usr/local/Cellar/python@3.8/3.8.2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/lo
==> /usr/local/Cellar/python@3.8/3.8.2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/lo
==> /usr/local/Cellar/python@3.8/3.8.2/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/lo
==> Caveats
Python has been installed as
/usr/local/opt/python@3.8/bin/python3
You can install Python packages with
/usr/local/opt/python@3.8/bin/pip3 install
They will install into the site-package directory
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
python@3.8 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have python@3.8 first in your PATH run:
echo ‘export PATH="/usr/local/opt/python@3.8/bin:$PATH"’ >> ~/.bash_profile
For compilers to find python@3.8 you may need to set:
export LDFLAGS="-L/usr/local/opt/python@3.8/lib"
==> Summary
/usr/local/Cellar/python@3.8/3.8.2: 4,124 files, 62.7MB
==> Installing sleuthkit dependency: afflib
==> Downloading https://homebrew.bintray.com/bottles/afflib-3.7.18_3.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/06/06e421180af02a47847f009f721ca91f7b0d03ed954995a1f12171f9d6467665?gda=exp=
######################################################################## 100.0%
==> Pouring afflib-3.7.18_3.mojave.bottle.tar.gz
/usr/local/Cellar/afflib/3.7.18_3: 50 files, 1.5MB
==> Installing sleuthkit dependency: libewf
==> Downloading https://homebrew.bintray.com/bottles/libewf-20140808.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/4c/4c5482f8f1c97f9c3f3687bccd9c3628b314699bc26743e641f2ae573bf95eeb?gda=exp=
######################################################################## 100.0%
==> Pouring libewf-20140808.mojave.bottle.tar.gz
/usr/local/Cellar/libewf/20140808: 34 files, 8.8MB
==> Installing sleuthkit dependency: krb5
==> Downloading https://homebrew.bintray.com/bottles/krb5-1.18.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/88/88fb8afbea9dee3d4deb76f6d3059e1782a503ec587a3fffb62ebcb4d92d3b48?gda=exp=
######################################################################## 100.0%
==> Pouring krb5-1.18.mojave.bottle.tar.gz
==> Caveats
krb5 is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have krb5 first in your PATH run:
echo ‘export PATH="/usr/local/opt/krb5/bin:$PATH"’ >> ~/.bash_profile
echo ‘export PATH="/usr/local/opt/krb5/sbin:$PATH"’ >> ~/.bash_profile
For compilers to find krb5 you may need to set:
export LDFLAGS="-L/usr/local/opt/krb5/lib"
export CPPFLAGS="-I/usr/local/opt/krb5/include"
==> Summary
/usr/local/Cellar/krb5/1.18: 162 files, 3.9MB
==> Installing sleuthkit dependency: libpq
==> Downloading https://homebrew.bintray.com/bottles/libpq-12.2_1.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/e4/e40e3c169e1e15092bab376299462086b6e556f10b1d01489c4aff4da39cf1d4?gda=exp=
######################################################################## 100.0%
==> Pouring libpq-12.2_1.mojave.bottle.tar.gz
==> Caveats
libpq is keg-only, which means it was not symlinked into /usr/local,
because conflicts with postgres formula.
If you need to have libpq first in your PATH run:
echo ‘export PATH="/usr/local/opt/libpq/bin:$PATH"’ >> ~/.bash_profile
For compilers to find libpq you may need to set:
export LDFLAGS="-L/usr/local/opt/libpq/lib"
export CPPFLAGS="-I/usr/local/opt/libpq/include"
==> Summary
/usr/local/Cellar/libpq/12.2_1: 2,240 files, 23.7MB
==> Installing sleuthkit dependency: openjdk
==> Downloading https://homebrew.bintray.com/bottles/openjdk-13.0.2+8_2.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/60/6034ec5a0927803eae37a5e85b6c6efadb930527827b45ecc593e25a9750061c?gda=exp=
######################################################################## 100.0%
==> Pouring openjdk-13.0.2+8_2.mojave.bottle.tar.gz
==> Caveats
For the system Java wrappers to find this JDK, symlink it with
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
openjdk is keg-only, which means it was not symlinked into /usr/local,
because it shadows the macOS java
wrapper.
If you need to have openjdk first in your PATH run:
echo ‘export PATH="/usr/local/opt/openjdk/bin:$PATH"’ >> ~/.bash_profile
For compilers to find openjdk you may need to set:
export CPPFLAGS="-I/usr/local/opt/openjdk/include"
==> Summary
/usr/local/Cellar/openjdk/13.0.2+8_2: 631 files, 314.6MB
==> Installing sleuthkit
==> Downloading https://homebrew.bintray.com/bottles/sleuthkit-4.8.0.mojave.bottle.tar.gz
==> Downloading from https://akamai.bintray.com/02/02ad0263a10f422f630205b332a5361921f4d33d943fe099afeee98feb5ef1bd?gda=exp=
######################################################################## 100.0%
==> Pouring sleuthkit-4.8.0.mojave.bottle.tar.gz
/usr/local/Cellar/sleuthkit/4.8.0: 490 files, 51.3MB
==> Caveats
==> openssl@1.1
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl@1.1/certs
and run
/usr/local/opt/openssl@1.1/bin/c_rehash
openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.
If you need to have openssl@1.1 first in your PATH run:
echo ‘export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"’ >> ~/.bash_profile
For compilers to find openssl@1.1 you may need to set:
export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
export CPPFLAGS="-I/usr/local/opt/openssl@1.1/include"
==> readline
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BSD libedit.
For compilers to find readline you may need to set:
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have sqlite first in your PATH run:
echo ‘export PATH="/usr/local/opt/sqlite/bin:$PATH"’ >> ~/.bash_profile
For compilers to find sqlite you may need to set:
export LDFLAGS="-L/usr/local/opt/sqlite/lib"
export CPPFLAGS="-I/usr/local/opt/sqlite/include"
==> python@3.8
Python has been installed as
/usr/local/opt/python@3.8/bin/python3
You can install Python packages with
/usr/local/opt/python@3.8/bin/pip3 install
They will install into the site-package directory
/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages
See: https://docs.brew.sh/Homebrew-and-Python
python@3.8 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.
If you need to have python@3.8 first in your PATH run:
echo ‘export PATH="/usr/local/opt/python@3.8/bin:$PATH"’ >> ~/.bash_profile
For compilers to find python@3.8 you may need to set:
export LDFLAGS="-L/usr/local/opt/python@3.8/lib"
==> krb5
krb5 is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.
If you need to have krb5 first in your PATH run:
echo ‘export PATH="/usr/local/opt/krb5/bin:$PATH"’ >> ~/.bash_profile
echo ‘export PATH="/usr/local/opt/krb5/sbin:$PATH"’ >> ~/.bash_profile
For compilers to find krb5 you may need to set:
export LDFLAGS="-L/usr/local/opt/krb5/lib"
export CPPFLAGS="-I/usr/local/opt/krb5/include"
==> libpq
libpq is keg-only, which means it was not symlinked into /usr/local,
because conflicts with postgres formula.
If you need to have libpq first in your PATH run:
echo ‘export PATH="/usr/local/opt/libpq/bin:$PATH"’ >> ~/.bash_profile
For compilers to find libpq you may need to set:
export LDFLAGS="-L/usr/local/opt/libpq/lib"
export CPPFLAGS="-I/usr/local/opt/libpq/include"
==> openjdk
For the system Java wrappers to find this JDK, symlink it with
sudo ln -sfn /usr/local/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
openjdk is keg-only, which means it was not symlinked into /usr/local,
because it shadows the macOS java
wrapper.
If you need to have openjdk first in your PATH run:
echo ‘export PATH="/usr/local/opt/openjdk/bin:$PATH"’ >> ~/.bash_profile
For compilers to find openjdk you may need to set:
export CPPFLAGS="-I/usr/local/opt/openjdk/include"
jeffreyschwartz@jeffreys-MacBook-Pro:~ cd Downloads/autopsy-4.14.0 jeffreyschwartz@jeffreys-MacBook-Pro:~/Downloads/autopsy-4.14.0 sh unix_setup.sh
Checking prerequisites and preparing Autopsy:
-n Checking for PhotoRec…
found in /usr/local/bin
-n Checking for Java…
found in /Library/Java/JavaVirtualMachines/liberica-jdk-8.jdk/Contents/Home
-n Checking for Sleuth Kit Java bindings…
found in /usr/local/share/java
-n Copying sleuthkit-4.8.0.jar into the Autopsy directory…
done
Autopsy is now configured. You can execute bin/autopsy to start it
jeffreyschwartz@jeffreys-MacBook-Pro:~/Downloads/autopsy-4.14.0$ ls
LICENSE-2.0.txt Running_Linux_OSX.txt docs/ icon.ico unix_setup.sh
NEWS.txt autopsy/ etc/ java/
README.txt bin/ harness/ platform/
jeffreyschwartz@jeffreys-MacBook-Pro:~/Downloads/autopsy-4.14.0$ cd bin
jeffreyschwartz@jeffreys-MacBook-Pro:~/Downloads/autopsy-4.14.0/bin$ ./autopsy
jeffreyschwartz@jeffreys-MacBook-Pro:~/Downloads/autopsy-4.14.0/bin$ ./autopsy
jeffreyschwartz@jeffreys-MacBook-Pro:~/Downloads/autopsy-4.14.0/bin$ ./autopsy
jeffreyschwartz@jeffreys-MacBook-Pro:~/Downloads/autopsy-4.14.0/bin$
=================