Ancestris - Forum

Ancestris Support => ENGLISH => Topic started by: Kdoyon18 on January 24, 2023, 04:17:40

Title: Ancestris won't start - Doesn't see Java
Post by: Kdoyon18 on January 24, 2023, 04:17:40
I installed Ancestris on my mac, but I get this error when trying to run it:

Ancestris launch alert !

JAVA is missing or not found. Ancestris requires JAVA.

Please install JAVA version 8, 11 or 17. Feel free to follow the Ancestris instructions in the online documentation https://docs.ancestris.org.


I checked, and I am running Java 8

Any ideas?

Ken

Title: Re : Ancestris won't start - Doesn't see Java
Post by: Zurga on January 24, 2023, 06:59:26
Try to manually define where Java is installed.
Follow the documentation : https://docs.ancestris.org/books/user-guide/page/step-by-step-installation-on-macos#bkmrk-basic-principles%3A

Zurga
Title: Re: Ancestris won't start - Doesn't see Java
Post by: Kdoyon18 on January 25, 2023, 16:27:11
Thanks for your help. It turned out that I was missing a JDK. I added that and it still did not work. Finally, I figured out that I had chosen Java 19 JDK which Ancestris does not support. So I added Java 17 JDK. Still did not work. Finally figured out I had to remove JDK 19 so Ancestris could see 17. That did the trick!

I know there were other ways to get Ancestris to default to JDK 17, but since I did not need JDK 19 anyway, I just removed it.

Now to start learning Ancestris!
Title: Re : Ancestris won't start - Doesn't see Java
Post by: Zurga on January 25, 2023, 16:57:32
Thank you for your feedback.

Zurga