On 2/18/21 6:48 PM, Shawn McKinney wrote: > >> On Feb 17, 2021, at 12:30 PM, Stefan Seelmann <m...@stefan-seelmann.de> >> wrote: >> >> What is the problem? Do you use Java 11? The windows and macOS release >> profiles require additional tools installed, otherwise it should build. > > Building on centos7. > > (Should be) using java 11 > > ``` > # java -version > openjdk version "11.0.10" 2021-01-19 LTS > OpenJDK Runtime Environment 18.9 (build 11.0.10+9-LTS) > OpenJDK 64-Bit Server VM 18.9 (build 11.0.10+9-LTS, mixed mode, sharing) > ``` > > But, mvn using 8: > > ``` > # mvn -version > Apache Maven 3.0.5 (Red Hat 3.0.5-17) > Maven home: /usr/share/maven > Java version: 1.8.0_282, vendor: Red Hat, Inc. > Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.282.b08-1.el7_9.x86_64/jre > ``` > > > And I forget how to force maven to use 11. :-(
export JAVA_HOME=/path/to/your/java11/installation > In the meantime, here’s the error: Yes, that's caused by using Java 8. I'll check how to tweak the build to fail earlier and with a better error message. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org