Install
One command. The package is on Maven Central today.
com.pdfluent:pdfluent:1.0.0-beta.6Or, in your Maven
pom.xml:xml
<dependency>
<groupId>com.pdfluent</groupId>
<artifactId>pdfluent</artifactId>
<version>1.0.0-beta.6</version>
</dependency>Smoke test
Open a PDF, print the page count. The example below is the smallest useful program — copy, paste, run.
java
import com.pdfluent.PdfDocument;
try (PdfDocument doc = PdfDocument.open("invoice.pdf")) {
System.out.println(doc.pageCount() + " pages");
}What this is good for
- JVM applications and back-office pipelines
- Spring and Quarkus integrations
- Existing Maven and Gradle builds
Current limitations
This list is honest, not exhaustive. The site-wide list lives at Known limitations.
- Public beta — APIs may shift before 1.0.
- Pin the dependency version during beta to avoid breaking changes.
- XFA rendering fidelity is improving alongside the Rust core.
- JNI binaries currently ship for common platforms; less common architectures may need a build step during beta.
Licensing
PDFluent ships with a 30-day trial built in. Every paid plan includes a perpetual-fallback licence — your build keeps working at the version you licensed, indefinitely. Details on the licensing page.