Ancestris - Forum

Ancestris Support => ENGLISH => Topic started by: f1vnc on June 23, 2022, 16:01:56

Title: macOS Monterey
Post by: f1vnc on June 23, 2022, 16:01:56
Hello,

I have installed Ancestris on my MacBook Pro (running Monterey) and MacBook Air (running Big Sur).

The java installation is up to date.

In both cases, when I launch the App I get a message ..

“You can’t open the application “Ancestris” because this application is not supported on this Mac”

… when I try to run the executable from a terminal with sudo, I get “bad CPU type in executable”

I wonder if anyone has any suggestions?

Thanks in advance.
Title: Re: macOS Monterey
Post by: Zurga on June 23, 2022, 17:57:00
Which version of Java is installed on your Mac ?

Zurga
Title: Re: macOS Monterey
Post by: FredericL on June 23, 2022, 21:28:15
Hi,

Thanks for the error message. Apologies for that. I have modified the package a couple of days ago and while it works on my Mac, it does not work on all. There seems to be a ZSH vs BASH difference.
Does Ancestris start if you launch Ancestris.app/Contents/Resources/ancestris/bin/ancestris instead of just clicking on Ancestris.app? It would mean I have to redo the launcher differently...

Best regards,
Frederic
Title: Re: macOS Monterey
Post by: FredericL on June 23, 2022, 21:46:44
Does any of these solutions work ?
Title: Re: macOS Monterey
Post by: f1vnc on June 24, 2022, 08:24:44
Hi,

When I try running the binary under sudo …

Ancestris.app/Contents/Resources/ancestris/bin/ancestris

… I get a message …

“unable to execute …. bad CPU type in executable”

My Java version is 1.8.0_191

Thanks for responding.
Title: Re: macOS Monterey
Post by: FredericL on June 24, 2022, 20:08:21
Hi,

I have repackaged both Ancestris v11 and v12.

Can you please re-install and let me know if it fixes the pb?

Cheers,
Frederic
Title: Re: macOS Monterey
Post by: f1vnc on June 24, 2022, 22:31:00
Hi,

Yes, it now launches from both my MacBook Air & Pro. It also runs from the Terminal.

Many thanks, I’m very impressed.

cheers
F1VNC (Keith)
Title: Re: macOS Monterey
Post by: FredericL on June 25, 2022, 07:39:53
Hi Keith,

Very glad to hear!
If you see anything else, feel free to ask.

Cheers,
Frederic
Title: Re: macOS Monterey 12.5
Post by: William Thomas on July 30, 2022, 00:46:56
I am having a similar problem: I have Java 8 (according to the settinings panel), just installed version 12, then reinstalled version 11. When I try to open Ancestris, I get "“Ancestris.app” is damaged and can’t be opened. You should move it to the Trash."

When I tried the terminal command % Ancestris.app/Contents/Resources/ancestris/bin/ancestris
zsh: no such file or directory: Ancestris.app/Contents/Resources/ancestris/bin/ancestris

I may have a problem with Java:
/usr/libexec/java_home -V
Matching Java Virtual Machines (2):
    17.0.3 (arm64) "Eclipse Adoptium" - "OpenJDK 17.0.3" /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
    1.8.333.02 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home
/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home

Thanks in advance,
Will
Title: Re: macOS Monterey
Post by: FredericL on July 30, 2022, 13:58:51
Hi Will,

Thanks for your message. I am not sure this is related otherwise you would get the same message.
The bin/ancestris file should be there obviously because it is in the downloaded package.
Ideally you should have java 17 active (what does java -version gives you in a terminal window?) and run Ancestris 12 because more recent.

If I were you, I would remove all ancestris versions (delete folders or apps), remove java 8 (not sure how), make sure java 17 is still active (open a terminal and type "java -version"), then reinstall Ancestris 12 and try again.

Let us know,
Frederic
Title: Re : macOS Monterey
Post by: William Thomas on August 07, 2022, 23:05:14
That worked.  Many thanks!

Will