-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for pdftk-java #75
Comments
I never looked into this, but it seems that a simple wrapper script around the Please report back if you give this a try, so we can add it to the README. |
Hi, Wrapper script:
how to create wrapper: cat /bin/stub.sh /pdftk/build/libs/pdftk-all.jar > pdftk.run && chmod +x pdftk.run Executable JAVA PDFTk
|
thank you! I added this info to the README. |
Hmm, we were able to get it working without a java wrapper script just by installing the Running on ruby:2.6.6 container (Debian Buster)
In rails code
Hope that's helpful, if it's wrong I welcome any corrections or insights :) |
Hi, indeed on Debian base operation system it would work, but our platform running on Alpine where pdftk-java is not available.. |
Not sure if this is helpful, but this works for us to install the current latest version of pdftk-java using a native image in a Docker container and use it with pdf-forms. Most recent binary should be reflected here: https://gitlab.com/pdftk-java/pdftk#pre-built-binaries RUN wget -O /usr/bin/pdftk "https://gitlab.com/pdftk-java/pdftk/-/jobs/1527259632/artifacts/raw/build/native-image/pdftk" \
&& chmod a+x /usr/bin/pdftk and then PdfForms.new('/usr/bin/pdftk') |
Hi,
Debian was (as far as I can tell) the last distro to support libgcj and pdftk. As of Buster they are no longer supporting it
Instead they are replacing it with a port of pdftk to java:
Does pdf-forms work with or support pdftk-java?
The text was updated successfully, but these errors were encountered: