Re: Trying to Test and Build release-2.x Failing Locally

2022-04-21 Thread Mohammed B
Thank you all. I think I got everything fairly set up. On Thu, Apr 21, 2022 at 9:26 PM Mohammed B wrote: > java version "14.0.1" 2020-04-14 > Java(TM) SE Runtime Environment (build 14.0.1+7) > Java HotSpot(TM) 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing) > >

Re: Trying to Test and Build release-2.x Failing Locally

2022-04-21 Thread Mohammed B
t; I'm not so sure about that; that's a fairly recently added test. > What's the output you get for `java -version`? > > On Thu, Apr 21, 2022 at 1:15 PM Mohammed B > wrote: > > > > Ok now it's working but one of the tests is failing: > > > >

Re: Trying to Test and Build release-2.x Failing Locally

2022-04-21 Thread Mohammed B
Is this supposed to happen? On Thu, Apr 21, 2022 at 9:10 PM Matt Sicker wrote: > Also set your JAVA_HOME to the Java 8 distribution when running maven > here as many modules in 2.x assume they're compiled via Java 8, not > via toolchains. > > On Thu, Apr 21, 2022 at 12:59 PM

Re: Trying to Test and Build release-2.x Failing Locally

2022-04-21 Thread Mohammed B
t branch requires Java 11 as the base anyways. > > On Thu, Apr 21, 2022 at 12:29 PM Mohammed B > wrote: > > > > I replaced the tool chain of 14 with 8 and the build fails on the "API > Java > > 9 support" project. If I added both toolchains, I get the same error

Re: Trying to Test and Build release-2.x Failing Locally

2022-04-21 Thread Mohammed B
I replaced the tool chain of 14 with 8 and the build fails on the "API Java 9 support" project. If I added both toolchains, I get the same error as before. Here's how my toolchain.xml looks like now: jdk 14 sun C:\Program Files\Java\jdk-14.0.1

Re: Trying to Test and Build release-2.x Failing Locally

2022-04-21 Thread Mohammed B
Thank you all very much. On Thu, Apr 21, 2022 at 8:09 PM Tim Perry wrote: > 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 > > wrote: > > > Does that mean I have to install JDK 8? or can I m