Mac Mvn Package Error: No compiler is provided in this environment. Perhaps you are running on a JRE rather …
Solution:
Write
Write
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_261.jdk/Contents/Home
in mvnw file