Skip to content

Commit 9ff655f

Browse files
committed
Revert "pdftk: use minimal jre"
This reverts commit cbef4f2. 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.
1 parent 2631b0b commit 9ff655f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

pkgs/by-name/pd/pdftk/package.nix

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,12 @@
33
stdenv,
44
fetchFromGitLab,
55
gradle_8,
6-
jre_headless,
7-
jre_minimal,
6+
jre,
87
runtimeShell,
98
}:
109
let
1110
# "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
1211
gradle = gradle_8;
13-
14-
jre = jre_minimal.override {
15-
modules = [
16-
"java.base"
17-
];
18-
jdk = jre_headless;
19-
};
2012
in
2113
stdenv.mkDerivation rec {
2214
pname = "pdftk";

0 commit comments

Comments
 (0)