Hi,
Has anyone managed to build autopsy-4.17.0 and sleuthkit-4.10.1 from source under Ubuntu 20.04 please?
The short version of my problem is that the ant build of autopsy fails with the following message:
[nb-javac] warning: No processor claimed any of these annotations: java.lang.FunctionalInterface,com.google.common.eventbus.Subscribe,org.sleuthkit.autopsy.coreutils.ThreadConfined,javax.annotation.Nonnull,javax.annotation.Nullable,com.google.gson.annotations.Expose,org.openide.windows.RetainLocation,javax.annotation.concurrent.ThreadSafe,javax.annotation.concurrent.GuardedBy,com.google.gson.annotations.SerializedName,com.google.common.annotations.Beta,javafx.fxml.FXML,javafx.beans.DefaultProperty,javax.annotation.concurrent.Immutable,com.sun.javafx.beans.IDProperty
[nb-javac] /home/student/Downloads/autopsy-autopsy-4.17.0/Core/src/org/sleuthkit/autopsy/coreutils/Win32Process.java:21: error: cannot find symbol
[nb-javac] import com.sun.jna.Pointer;
[nb-javac] ^
[nb-javac] symbol: class Pointer
[nb-javac] location: package com.sun.jna
[nb-javac] 1 error
[nb-javac] 1 warning
My question therefore is “Are autopsy-4.17.0 and sleuthkit-4.10.1 meant to work together?”
Other information that might be relevent:
i) This is being done on a clean install of Ubuntu 20.04.
ii) I believe I have installed/compiled all the necessary dependencies.
iii) sleuthkit builds without error.
iv) JAVA_HOME, JDK_HOME and TSK_HOME are correctly set.
I assume that the message is trying to tell me that the complier simply can’t find the right class file for com.sun.jna.Pointer but despite being reasonably familiar with the java ecosystem I can’t work out where it expects the class file (presumably embedded in a .jar) to be.
Any help appreciated,
Ian