The problem is that PDFBox 2.* is for java 6 and higher, it can't be
built on jdk > 11 unless you change the target version in the
maven-compiler-plugin settings (several places). See also
https://issues.apache.org/jira/browse/PDFBOX-4715
Your text below doesn't mention an error, only a warning. And "1.8.0_60"
contradicts "recent java".
Tilman
Am 15.01.2021 um 03:43 schrieb Alexander Regueiro:
Hello,
Attempting to build PDFBox 2.0.22 on macOS 11.1, Java 1.8.0_60, yields the
following error:
```
[WARNING] Rule 1: org.apache.maven.plugins.enforcer.RequireJavaVersion failed
with message:
Requires at least Java 7, and
Java versions higher than 11 cannot
build Java 6 bytecode
```
Does building PDFBox really require such an outdated version of Java?
Any advice would be appreciated.
Thanks,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]