OpenPDF icon indicating copy to clipboard operation
OpenPDF copied to clipboard

Java 11 Support and Software Site

Open jmenzies12 opened this issue 3 years ago • 6 comments

Hey there,

We are currently using openpdf 1.1.0 and are about to upgrade to java 11. Is it possible to run and build in java 11 with this version or will we have to update to get compatibility?

Also, by any chance do you have a software site we can use to download the release from? Sorry if this is the wrong place to post this, I couldn't find a forum link or contact details anywhere.

Cheers Jonathan

jmenzies12 avatar Nov 26 '21 20:11 jmenzies12

Hi Jonathan, you can find the Download at https://search.maven.org/search?q=g:com.github.librepdf%20AND%20a:openpdf&core=gav

arnthom avatar Nov 29 '21 09:11 arnthom

Thanks for that!

Could you tell me if version 1.1.0 is compatible to be built on Java 11 ?

jmenzies12 avatar Nov 30 '21 20:11 jmenzies12

Looks like the CI builds are running on 8,11 and 16.

https://github.com/LibrePDF/OpenPDF/actions/runs/1514668628

I'm running it on 17 without issue.

codylerum avatar Dec 01 '21 19:12 codylerum

Hey sorry just wanted to clarify, you are running openpdf 1.1.0 on Java 17 ?

I couldn't see what version the CI builds are running on so I presume they are running on a recent version

jmenzies12 avatar Dec 02 '21 20:12 jmenzies12

Running 1.3.26 on JDK 17.

1.1.0 is a 3 year old release so you may want to get that updated first.

You can see versions https://github.com/LibrePDF/OpenPDF/blob/master/.github/workflows/maven.yml#L16

Or from recent builds in actions https://github.com/LibrePDF/OpenPDF/actions/runs/1514668628

codylerum avatar Dec 02 '21 20:12 codylerum

@jmenzies12 Is there a specific reason preventing you from upgrading to the most recent version? I suggest that you try with Java 11 and then verify if everything works as expected. I was able to compile and run some basic tests with the tag 1.0.1. However, I recommend that you upgrade if possible.

mluppi avatar Dec 08 '21 20:12 mluppi

OpenPDF now requires Java 11.

andreasrosdal avatar Jan 19 '24 12:01 andreasrosdal