Revert "pdftk: use minimal jre"

This reverts commit cbef4f28aa.

Using the minimal jre results in classes needed for some operations no
longer being available, e.g. when attempting to fill a form:

Error: could not load a required library for this operation.
java.lang.NoClassDefFoundError: java/awt/Color
Make sure that bcprov and commons-lang3 are installed and included in the
classpath. See also https://gitlab.com/pdftk-java/pdftk/issues/2.
   No output created.
This commit is contained in:
Linus Heckemann
2025-05-15 16:04:49 +02:00
parent 2631b0b7ab
commit 9ff655f460
+1 -9
View File
@@ -3,20 +3,12 @@
stdenv,
fetchFromGitLab,
gradle_8,
jre_headless,
jre_minimal,
jre,
runtimeShell,
}:
let
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
gradle = gradle_8;
jre = jre_minimal.override {
modules = [
"java.base"
];
jdk = jre_headless;
};
in
stdenv.mkDerivation rec {
pname = "pdftk";