Mac | Apple

M1 How to deal with “org.codehaus.groovy.control.MultipleCompilationErrorsException” in Mac environment

The other day, I posted a blog post titled “What to do when you can’t run Java on M1 Mac” and it has been seen there.

As mentioned in this article, if you want to use Java on the M1 Mac, you need to install a JDK separately, and we were talking about the Open JDK developed for the M1 Mac in cooperation with Azul and Microsoft as a recommended solution.

When using this Open JDK, as the title suggests, you may encounter the error “org.codehaus.groovy.control.MultipleCompilationErrorsException”.

In this article, I will show you how to resolve this issue.

how to deal with

Actually, there is an addendum to the recent blog I mentioned at the beginning of this article, which states that when Zulu16 is configured as an Open JDK, the “org.codehaus.groovy.control.MultipleCompilationErrorsException MultileCompilationErrorsException” error.

In conclusion, at this time (2021/07/15), when developing with Java and Android Studio on M1 Mac, use “Zulu15” as the Open JDK.

Click here to download Zulu15