seadas install: java: Bad CPU type in executable
Posted: Tue Feb 27, 2024 1:06 pm America/New_York
I am helping someone install SeaDAS on a MacBook M2. We are getting the following error:
I have not seen this error in all my installs. Also tried downloading java/jdk from https://jdk.java.net, which didn't change, and then with brew. But I think the installer is using the 'built-in' version of the installer itself?
I also copied a version of seadas_8.4.1_mac_installer.sh file that I had on my Mac to install SeaDAS to the MacBook, but got the same error....
Does anyone know what is going on?
Code: Select all
bash-3.2$ sh seadas_8.4.1_mac_installer.sh
Verifying archive integrity... 100% MD5 checksums are OK. All good.
Uncompressing SeaDAS by Ocean Ecology Lab 100%
./start-install-script.sh: line 2: jdk-11.0.19+7/Contents/Home/bin/java: Bad CPU type in executable
I also copied a version of seadas_8.4.1_mac_installer.sh file that I had on my Mac to install SeaDAS to the MacBook, but got the same error....
Does anyone know what is going on?