How to create PDF files with Java and OpenPDF

Miguel Doctor Yuste
9 min readNov 7, 2022

A guide to OpenPDF, a free and open source alternative to create PDF documents with Java.

This article is a Java adapted version from my original article published on Better Programming medium publication (here)

Environment

This step by step tutorial is written based on the following requirements:

  • Operating System: MacOS Catalina 10.15.7
  • Java version: Openjdk version “11.0.16”
  • IntelliJ IDEA: 2022.2.2 (Community Edition)

--

--

Miguel Doctor Yuste

Ph.D, AI Data Scientist, Software Engineer, Cloud Architect, Systems Engineer, happy father and happy husband :)