[ https://issues.apache.org/jira/browse/FOP-3132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718639#comment-17718639 ]
Glenn Adams commented on FOP-3132: ---------------------------------- I believe this could have been solved by using {{-release 8}} instead of {{-source}} and {{-target}}. See https://www.baeldung.com/java-compiler-release-option for examples. > Link against Java 8 API > ----------------------- > > Key: FOP-3132 > URL: https://issues.apache.org/jira/browse/FOP-3132 > Project: FOP > Issue Type: Bug > Reporter: Simon Steiner > Assignee: Simon Steiner > Priority: Major > Fix For: main > > > As a user I want to compile fop with java > 8 and run with java 8 without > error > We want to be Java 8 compatible, if we compile fop with java 11, you would > currently get a error when runtime is java 8. We currently compile with java > 8, but it would be good to be able to use java 11 without a risk of issues -- This message was sent by Atlassian Jira (v8.20.10#820010)