Install libpdfbox-java by entering the following commands in the terminal:
sudo apt update sudo apt install libpdfbox-java
PDF library for Java
The Apache PDFBox library is an open source Java tool for working with PDF documents. This project allows creation of new PDF documents, manipulation of existing documents and the ability to extract content from documents. . This package contains the library itself.