Example project demonstrating the capabilities of PDFix SDK written in Java.
For more information please visit https://pdfix.net.
Run setup_maven.sh to download and install all dependencies, then execute main class net.pdfix.App.
./setup_maven.sh
mvn compile -f pom.xml
mvn package -f pom.xml
Make sure to copy jar file to lib/
folder next to net.pdfix.App-8.0.1.jar.
Run example_run.sh or use command:
java -jar target/net.pdfix.App-8.0.1.jar --pdfix-bin <your_path>/pdfix/bin --test <test_name>
--pdfix-bin
- [optional] path to pdfix bin folder if stored on custom location--test
- [optional] the name of the test to run. For example AddTags, AddWatermark. All tests are executed if empty
Download PDFix SDK and JAR file from https://pdfix.net/download
Copy class libraries in JAR file into ${project.basedir}/lib/ so that you see there
- net.pdfix.pdfixlib-${sdk_verison_num}.jar
Install native libraries from {zip}/bin
on your system by copying them into java.library.path
(e.g. /Library/Java/Extensions/)
- Linux:
libpdf.so
- MacOS:
libpdf.dylib
- Windows:
pdf.dll
Let us know and we’ll get back to you. Write us to [email protected] or fill the contact form.