Package Details: sleuthkit-java 4.11.1-3

Git Clone URL: (read-only, click to copy)
Package Base: sleuthkit-java
Description: Java bindings for The Sleuth Kit.
Upstream URL:
Licenses: GPL2, CPL,, custom:"IBM Public Licence",
Submitter: jarylc
Maintainer: ljmf00
Last Packager: ljmf00
Votes: 7
Popularity: 0.33
First Submitted: 2018-05-18 05:27 (UTC)
Last Updated: 2022-02-04 19:13 (UTC)

Dependencies (6)

Required by (2)

Sources (1)

Latest Comments

1 2 3 Next › Last »

GI_Jack commented on 2021-08-30 16:21 (UTC)

PKGBUILD for 4.11.0:

Also moved to Java 11

kruzah commented on 2020-12-03 11:28 (UTC)

@tcmal I'm not sure, I couldn't find anything about it - but as-is, this package as well as Autopsy requires java-environment=8, and upstream also had to re-release 4.10.1 because of this mismatch: ".deb file was updated because the initial one was compiled for Java11 instead of Java8." At least to me it makes sense to enforce building with Java 8, and using archlinux-java before makepkg doesn't.. feel as clean to me. But I'm not a Java packaging expert by any means.

An alternative would be to fetch the already built jar from the upstream deb (, this would also mean that you don't have to compile the rest of TSK just for the .jar file

commented on 2020-12-03 11:08 (UTC)

@kruzah I think the packaging guidelines recommend using the default:

kruzah commented on 2020-12-03 11:04 (UTC)

The package builds against the system default Java version rather than Java 8. Please specify the proper JAVA_HOME in PKGBUILD to ensure that it builds against Java 8:

$ git diff PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 209faf4..e81ed3f 100644
@@ -6,13 +6,14 @@ pkgdesc='Java bindings for The Sleuth Kit.'
 license=('CPL', 'custom:"IBM Public Licence"', 'GPL2')
-depends=(java-environment=8 java8-openjfx sleuthkit)
+depends=(jdk8-openjdk java8-openjfx sleuthkit)

 build() {
        cd "sleuthkit-${pkgver}"
+       export JAVA_HOME=/usr/lib/jvm/java-8-openjdk

        # build main program

solsticedhiver commented on 2020-05-10 14:21 (UTC)

the package depends on java 8 but it builds the jar and the class files with the default java version installed.

I have .class file version 55 (aka build with my default jdk 11 here)

something is wrong

sanerb commented on 2020-02-02 08:28 (UTC)

1.) the checksum is wrong 2.) the second patch is no longer necessary as upstream has applied. 3.) the third patch fails to apply (but seems to be unnecessary; the package builds with it commented out)

bkl commented on 2020-01-30 11:08 (UTC)

The "sleuthkit-4.8.0.tar.gz" was changed in github.

==> ERROR: One or more files did not pass the validity check! Error downloading sources: sleuthkit-java

There is a fixed version?

Interja commented on 2020-01-29 13:43 (UTC)

The http to https part was added to release 4.8.0, so the patches might fail during build.

Interja commented on 2020-01-27 13:25 (UTC)

Changing your ivysettings.xml according to the comment in the github issue should make the build work again.