Maven 3.8.0 Compiler – Fatal error compiling: release version 11 not supported July 15, 2023 by Tarik mvn need JAVA_HOME to be set. I faced the same issue and setting up JAVA_HOME to correct JDK did the trick.