Java Convert Word File Docx to PDF using documents4j library In this Java tutorial we learn how to use the documents4j Java library to convert Microsoft Word .docx file into .pdf file in Java application.