ZSH: exec format error eclipse M1/M2 Mac


Last login: Sun Jan 30 13:13:38 on ttys000

/Users/code2care/Downloads/eclipse/eclipse ; exit;            
                 
 % /Users/code2care/Downloads/eclipse/eclipse ; exit;

zsh: exec format error: /Users/code2care/Downloads/eclipse/eclipse

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.


Reason for the Error

    If you have a Mac with an M1/M2 chip, and you downloaded the Arch64 package from eclipse.org to install Eclipse IDE, extracting eclipse-java-2021-12-M1-linux-gtk-aarch64.tar and running the eclipse file will give the above error because, the setup is not meant for M1/M2 Mac but for Linux.


Eclipse IDE 2021-12 M1 Packages
Eclipse IDE 2021-12 M1 Packages

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap