Yes, you need JDK 8.
https://www.azul.com/downloads/?version=java-8-lts&package=jdk or similar.

On Thu, Apr 21, 2022 at 4:57 PM Mohammed Barayyan <[email protected]>
wrote:

> Does that mean I have to install JDK 8? or can I modify the toolchains or
> the pom.xml to achieve that?
>
> On Thu, Apr 21, 2022 at 7:56 PM Gary Gregory <[email protected]>
> wrote:
>
> > Use Java 8, not 14.
> >
> > Gary
> >
> > On Thu, Apr 21, 2022, 12:35 Mohammed Barayyan <[email protected]>
> > wrote:
> >
> > > Hello,
> > >
> > > Any advice on the issue please.
> > >
> > > I'm trying to test and build branch 2.x from source but I get an error:
> > >
> > > error: cannot find symbol
> > > [ERROR]   symbol:   class Reflection
> > > [ERROR]   location: package sun.reflect
> > >
> > > More details about my question in:
> > > stackoverflow question <Hello, I'm trying to test and build branch 2.x
> > from
> > > source but I get an error: error: cannot find symbol [ERROR] symbol:
> > class
> > > Reflection [ERROR] location: package sun.reflect More details about my
> > > question in:
> > >
> > >
> >
> https://stackoverflow.com/questions/71957458/building-and-testing-log4j2-from-source-fails-cannot-find-symbol-symbol-clas
> > > >
> > >
> > > Thank you.
> > >
> >
>

Reply via email to