[Fixed] Bad CPU type in executable – Installing Java on MacBook
I got new MacBook Air M1 recently and first thing I wanted to install there was Java. So, I downloaded OpenJDK tar file, extracted it and tried to run "java -version" command and it threw the error: -bash: ./java: Bad CPU type in executable This was something new to me, I have worked on Java […]