-
Notifications
You must be signed in to change notification settings - Fork 640
Description
Over the past few days, I've been trying to compile Autopsy 4.22.1, which, according to the install readme, should be possible. However, I have been unable to get it to work. The error I get seems to pop up quite a bit in other issues posted here, and I'm wondering whether it's actually possible to make a working Autopsy build on an ARM64 system at the moment.
The Sleuthkit builds without issue (apparently). I have openJDK@17 installed, and is the active Java framework. (Note: ant, a prereq, auto-installs openJDK v25 via brew).
I have no obvious errors building Autopsy either, but when I run the binary, I get:
org.netbeans.InvalidException: StandardModule:org.sleuthkit.autopsy.core jarFile: /Users/nbenford/autopsy/autopsy-4.22.1/autopsy/modules/org-sleuthkit-autopsy-core.jar: java.lang.UnsupportedClassVersionError: org/sleuthkit/datamodel/TskCoreException has been compiled by a more recent version of the Java Runtime (class file version 69.0), this version of the Java Runtime only recognizes class file versions up to 61.0
And the terminal output:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 18:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 56:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 59:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 64:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 66:
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-opens
The only options are Exit or Disable Modules and. Continue. Of course, both just quit the program, which completes the terminal error output:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 18:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 56:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 59:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 64:
: command not foundopsy/autopsy-4.22.1/bin/../etc/autopsy.conf: line 66:
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-opens
java.lang.IllegalStateException: Host module FixedModule:org.openide.filesystems was enabled before, will not accept fragment FixedModule:org.openide.filesystems.compat8
at org.netbeans.ModuleManager.attachModuleFragment(ModuleManager.java:1104)
at org.netbeans.ModuleManager.maybeAddToEnableList(ModuleManager.java:1717)
at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1640)
at org.netbeans.ModuleManager.simulateEnable(ModuleManager.java:1613)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:290)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:326)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:252)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:173)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142)
at org.netbeans.core.startup.Main.start(Main.java:299)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
at java.base/java.lang.Thread.run(Thread.java:840)
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
So, is it actually possible to currently build Autopsy for MacOS? If not, the documentation should mention that to reduce time wasted. I don't technically need a Mac version of Autopsy, but if the docs say it can be done, it should be possible.
Thanks so much, and please let me know if I can help in any way. I'm not some super-developer, but I'm happy to poke around.