javajava-8pdfboxpdfrenderer

How To Download JDK 1.8.0_191


I'm trying to use PDFRenderer from PDFBox and works fine but it gives me a warning saying:

Aug 31, 2019 11:46:48 PM org.apache.pdfbox.rendering.PDFRenderer suggestKCMS
INFO: Your current java version is: 1.8.0_171
Aug 31, 2019 11:46:48 PM org.apache.pdfbox.rendering.PDFRenderer suggestKCMS
INFO: To get higher rendering speed on old java 1.8 or 9 versions,
Aug 31, 2019 11:46:48 PM org.apache.pdfbox.rendering.PDFRenderer suggestKCMS
INFO:   update to the latest 1.8 or 9 version (>= 1.8.0_191 or >= 9.0.4),
Aug 31, 2019 11:46:48 PM org.apache.pdfbox.rendering.PDFRenderer suggestKCMS
INFO:   or
Aug 31, 2019 11:46:48 PM org.apache.pdfbox.rendering.PDFRenderer suggestKCMS
INFO:   use the option -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider
Aug 31, 2019 11:46:48 PM org.apache.pdfbox.rendering.PDFRenderer suggestKCMS
INFO:   or call System.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider")

which from what i understand it means i have to update to JDK 1.8.0_191 or higher to get the best experience out of the object.

my problem here is that how can I get the 1.8.0_191 or higher version of the JDK or any other solutions to implement, so that I won't get this warning and the PDFRenderer works faster.


Solution

  • Stewardship

    Be aware that Oracle stopped providing free-of-cost security updates to Java 8. See Oracle Java SE Support Roadmap.

    Red Hat (IBM) has taken stewardship of the OpenJDK 8 & OpenJDK 11 LTS releases.

    Oracle branded

    Oracle JDK 8 Update 221 is available here. Be sure to read the terms of the license, and be aware of their intention towards further updates.

    OpenJDK

    The open-source distributions based on OpenJDK are available from various vendors.

    The first that comes to mind is AdoptOpenJDK.net, providing Java 8 with Update 282 currently.

    Amazon provides OpenJDK 8 in their Corretto offering. Especially suitable if you deploy to AWS.

    Zulu by Azul Systems also provides OpenJDK 8, certified as Java. They offer optional support plans as well.

    See the nifty diagram I made for sourcing Java 11. Some of those same vendors also provide Java 8, with and without paid support.