Getting Icon 2.0 set up with an Apple M1 (ARM64) device

While setting up a local 2.0 chain using the icondev.io tutorial I got into trouble because I was using an Apple M1 device.

There is no openjdk version 11 for M1 chipsets available on brew. Trying to follow te steps with openjdk 16 (which is compatible with the M1 chipsets) led to miss-matching gradle builds, which led to all kind of issues.

Eventually I found a M1 (ARM64) compatible version of openjdk 11 on

https://www.azul.com/downloads/?package=jdk#download-openjdk

After installing make sure you set version 11 as your default,

Good luck!

To change your default java version check out: