Maven is using wrong java version – CentOS
I am trying to build a maven project on centOS 8. I want maven to use Java version 15. When I run mvn package I get the following error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project systembrett-backend: Fatal error…