Configure snappy on M2 mac

SNAP is not shipped with a Java VM for ARM chips.

Please have a look at this thread for a workaround:
SNAP headless on ARM - snap - STEP Forum (esa.int)