sleuthkit / autopsy

Autopsy® is a digital forensics platform and graphical interface to The Sleuth Kit® and other digital forensics tools. It can be used by law enforcement, military, and corporate examiners to investigate what happened on a computer. You can even use it to recover photos from your camera's memory card.
http://www.sleuthkit.org/autopsy/
2.41k stars 597 forks source link

Cannot create case: javafx/scene/paint/Color #5390

Closed cooperfrench95 closed 4 years ago

cooperfrench95 commented 4 years ago

Platform: Ubuntu 18.04

I followed all the installation instructions and Autopsy does start. However when I try to create a case I get this:

Cannot create case: javafx/scene/paint/Color. In an error popup.

Output of java -version:

openjdk version "1.8.0_232"
OpenJDK Runtime Environment (Zulu 8.42.0.23-CA-linux64) (build 1.8.0_232-b18)
OpenJDK 64-Bit Server VM (Zulu 8.42.0.23-CA-linux64) (build 25.232-b18, mixed mode)
----~$ env | grep JAVA_HOME
JAVA_HOME=/usr/lib/jvm/zre-8-amd64

For real though. Can you make your program easier to use? I tried installing the version that runs in the browser with sudo apt-get install autopsy, but that's broken too. When adding an image which 100% has the correct path, I get: Invalid wild image (img_path) argument in that version.

esaunders commented 4 years ago

Sounds like you are missing Java FX. Do you see jfxrt.jar in /usr/lib/jvm/zre-8-amd64/lib/ext? If not you can get Java FX here: https://www.azul.com/downloads/zulu-community/?&version=java-8-lts&os=&os=ubuntu&architecture=x86-64-bit&package=jre-fx&show-old-builds=true

Extract it into your JAVA_HOME location. See the Running_Linux_OSX.txt file for the 'tar' command to use.

cooperfrench95 commented 4 years ago

@esaunders Turns out the problem was not that I didn't have JavaFX installed, but that I had installed 2 versions of java 8 somehow and Autopsy was using the wrong one which didn't have any FX. Uninstalling one of them solved the problem for me. Thankyou!