LibrePDF / OpenPDF

OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Other
3.6k stars 596 forks source link

JDK8 无法使用OPENPDF 2..0.3 #1214

Open psyuhen opened 2 months ago

psyuhen commented 2 months ago

JDK8 无法使用OPENPDF 2..0.3.

Lonzak commented 2 months ago

To my latest knowledge it is like this:
OpenPDF 1.3.X, compatible with Java 8 OpenPDF 2.0.X, Java 11 based OpenPDF 2.1.X, Java 17 based

psyuhen commented 2 months ago

What should I do if some old projects can't upgrade to JDK? @Lonzak

andreasrosdal commented 2 months ago

The OpenPDF 1.3.x versions supports Java 8. https://github.com/LibrePDF/OpenPDF/releases/tag/1.3.43

The JDK requirements are documented here: https://github.com/LibrePDF/OpenPDF?tab=readme-ov-file#required-dependencies

What is preventing updating the JDK version? There are many benefits to using a modern JDK.

Lonzak commented 2 months ago

@psyuhen I can understand - we also have this with some customers. I think currently you have to use 1.3.X

psyuhen commented 2 months ago

@Lonzak OK, Let me have a look . ths all. @andreasrosdal