Page 1 of 1

seadas install: java: Bad CPU type in executable

Posted: Tue Feb 27, 2024 1:06 pm America/New_York
by treble
I am helping someone install SeaDAS on a MacBook M2. We are getting the following error:

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 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?

Re: seadas install: java: Bad CPU type in executable

Posted: Fri Apr 12, 2024 9:45 am America/New_York
by OB SeaDAS - xuanyang02
Sorry for the delayed reply. Now SeaDAS 9 is just released, could you please try docker 2.0 with it, see if the issue persists -
https://seadas.gsfc.nasa.gov/downloads/
https://seadas.gsfc.nasa.gov/client_server/