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

Dependencies: java == 8 or java >=8 ? #5342

Open tjt263 opened 5 years ago

tjt263 commented 5 years ago

Does java have to be at least version 8? Or exactly version 8. Is the current release (13, I think) incompatible? I'm just trying to sort the dependencies out for a package manager for macOS (brew).

url "https://github.com/sleuthkit/autopsy/releases/download/autopsy-4.13.0/autopsy-4.13.0.zip"
sha256 "7e88c3e9b9cc12e2201f224e33af4e6bb0cc524ed2adca930623c91604d380a6"

depends_on "testdisk"
depends_on "sleuthkit"
depends_on "java" # or specifically java8 ??

Dependencies

esaunders commented 5 years ago

Java == 8. Autopsy has not been built or tested with any version higher than 8.

tjt263 commented 5 years ago

okay, how about i build you guys a .dmg so we don't have to go through this crap?

what's the point of unix_setup.sh if it doesn't take care of the setup?

don't answer that, it's rhetorical.


does it need adoptopenjdk8 or zulu8? or both?

yes, that's a genuine question.


Someone get in touch with me and i'll sort it out.

i just need a few details and it'll be better for everyone.

bcarrier commented 5 years ago

Hi @tjt263, Yea, we can test a dmg. The brew process has been a black box for us to date and we have focused more on The Sleuth Kit than Autopsy for brew. But, we are certainly open to ways of automating the Autopsy installation more.

The Running_Linux_OSX file has this for OS X:

OS X: Any Java 8 version of OpenJDK/OpenJFX distribution should suffice.

  1. Install a 64 bit Java 8 JRE. % brew tap adoptopenjdk/openjdk % brew cask install adoptopenjdk8
  2. Download a 64 bit Java 8 JavaFX for macOS from https://www.azul.com/downloads/zulu-community
  3. Extract the contents of the JavaFX archive into the folder where the JRE was installed. e.g. % sudo tar xf ~/Downloads/zulu8.40.0.25-ca-fx-jre8.0.222-macosx_x64.tar.gz -C /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home--strip-components=1
  4. Confirm Java 8 is being found by running 'java -version'
  5. Set JAVA_HOME environment variable to location of JRE installation.

I'm not sure if that answers your questions. I personally haven't done much of this yet and we'll have someone follow up next week with more details if you need them. I just wanted to point that info along ASAP.