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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user