Author Topic: What is the latest Java version supported by Ancestris 11?  (Read 1495 times)

0 Members and 1 Guest are viewing this topic.

Offline dplawrence

  • VIP
  • Jr. Member
  • *
  • Posts: 6
    • View Profile
What is the latest Java version supported by Ancestris 11?
« on: October 07, 2023, 18:45:05 »
What is the latest Java version supported by Ancestris 11?

This page https://docs.ancestris.org/books/user-guide/page/install-and-start-ancestris of the documention suggests version 17 is supported.

On Debian 12 I've installed Java 17 JRE

david@debian:~$ java -version
openjdk version "17.0.8" 2023-07-18
OpenJDK Runtime Environment (build 17.0.8+7-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.8+7-Debian-1deb12u1, mixed mode, sharing)


But when I attempt to install Ancestris I get an error suggesting that only Java versions up to 11 are supported.

david@debian:~/Downloads$ sudo apt install ./ancestris_11-20211017.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'ancestris' instead of './ancestris_11-20211017.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ancestris : Depends: sun-java8-jdk but it is not installable or
                      sun-java8-jre but it is not installable or
                      openjdk-8-jre but it is not installable or
                      openjdk-8-jdk but it is not installable or
                      sun-java9-jdk but it is not installable or
                      sun-java9-jre but it is not installable or
                      openjdk-9-jre but it is not installable or
                      openjdk-9-jdk but it is not installable or
                      sun-java10-jdk but it is not installable or
                      sun-java10-jre but it is not installable or
                      openjdk-10-jre but it is not installable or
                      openjdk-10-jdk but it is not installable or
                      sun-java11-jdk but it is not installable or
                      sun-java11-jre but it is not installable or
                      openjdk-11-jre but it is not installable or
                      openjdk-11-jdk but it is not installable
E: Unable to correct problems, you have held broken packages.



Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 790
    • View Profile
Re: What is the latest Java version supported by Ancestris 11?
« Reply #1 on: October 07, 2023, 18:50:42 »
Ancestris 11 works perfectly with Java 17 or even Java 21.
But the packages are done with Java 8.
If you want to install Ancestris 11 with another version of Java, use the generic zip file instead of packaged .deb file.

Zurga

Offline dplawrence

  • VIP
  • Jr. Member
  • *
  • Posts: 6
    • View Profile
Re: What is the latest Java version supported by Ancestris 11?
« Reply #2 on: October 07, 2023, 19:11:35 »
Thank you. I will try the generic zip file.