[
https://issues.apache.org/jira/browse/LOG4J2-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16597745#comment-16597745
]
Matt Sicker commented on LOG4J2-2426:
-------------------------------------
Java 9 (or 10, 11 pre-release) is required only to build the Java 9 specific
modules. If you are trying to repackage log4j from source without it, it might
work by excluding that module from the build.
> Building Log4j 2.11.1 with only Java 8
> --------------------------------------
>
> Key: LOG4J2-2426
> URL: https://issues.apache.org/jira/browse/LOG4J2-2426
> Project: Log4j 2
> Issue Type: Question
> Reporter: Zeba
> Priority: Major
>
> Is it possible to build log4j using only Java 8 ?
> I currently get the following error when trying to build it without java 9
> path in my toolchain file.
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-toolchains-plugin:1.1:toolchain (default) on
> project log4j-api-java9: Cannot find matching toolchain definitions for the
> following toolchain types:
> [ERROR] jdk [ version='[9, )' ]
> We are unable to the rest of our components, namely the Oracle database to
> java 9. Which is where java stored procedures(using log4j) will be run.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)