Use a 3rd party library then wrap it up inside your distribution process so that the customer never sees it.
For example use a proper installer to install your program, there are lots of easy-to-use programs to generate installers for you.
solved Convert HTML to PDF in JAVA without using any librarys