Author Topic: Installing Ancestris on Fedora42  (Read 423 times)

0 Members and 1 Guest are viewing this topic.

Offline GedCom

  • VIP
  • Jr. Member
  • *
  • Posts: 11
    • View Profile
Installing Ancestris on Fedora42
« on: July 02, 2025, 07:38:13 »
Hello,
 I have a brand new Fedora 42 with java -version:
Code: [Select]
openjdk version "21.0.7" 2025-04-15
OpenJDK Runtime Environment (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6, mixed mode, sharing)

After unzipping Ancestris 12 from the Zip and chmod , when trying to start from the /bin folder the ./ancestris it results in this terminal message:
Code: [Select]
Identifying path and application name:
   progdir=.
   APPNAME=ancestris
 
Checking configuration file on progdir/../etc:
   Configuration file found. Executing it.
 
Identifying userdir from configuration file:
   userdir(from conf file)=/home/gerd/.ancestris/12
   userdir(after argument overwrite)=/home/gerd/.ancestris/12
 
Checking configuration file on userdir/etc:
   Configuration file from userdir not found.
 
Checking if jdkhome is defined: (for MacOS, /Contents/Home should be at the end)
   jdkhome=/usr/lib/jvm/java-21-openjdk
 
Checking JAVA presence
   Linux...
================================================================
openjdk version "21.0.7" 2025-04-15
OpenJDK Runtime Environment (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6, mixed mode, sharing)
================================================================
Found JAVA executable in PATH
JAVA is installed.
JAVA version is more than 1.8
 
Defining clusters:
   clusters=/home/gerd/Applications/ancestris/ancestris:/home/gerd/Applications/ancestris/harness:
 
Defining exec command:
   nbexec=./../platform/lib/nbexec
 
Running exec command:
   => Linux system detected...
 
Command to be executed:
 
exec /bin/bash './../platform/lib/nbexec'             --jdkhome '/usr/lib/jvm/java-21-openjdk'             --clusters '/home/gerd/Applications/ancestris/ancestris:/home/gerd/Applications/ancestris/harness:'             --userdir '/home/gerd/.ancestris/12'             --branding ancestris -J-Xms96m -J-Xmx1g --laf javax.swing.plaf.nimbus.NimbusLookAndFeel -J-XX:+IgnoreUnrecognizedVMOptions -J-XX:+UseStringDeduplication -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.zip.disableMemoryMapping=true -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.base/java.lang=ALL-UNNAMED  -J--add-opens=java.base/java.util=ALL-UNNAMED -J--add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED -J--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED -J--add-exports=java.management/sun.management=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED -J--add-opens=java.desktop/java.awt=ALL-UNNAMED -J--add-opens=java.desktop/java.awt.event=ALL-UNNAMED -J--add-exports=java.desktop/java.awt.peer=ALL-UNNAMED -J--add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED -J--add-exports=java.desktop/sun.swing=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt.im=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED -J--add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -J--add-opens=java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED

several rows the same message like the next row
egrep: warning: egrep is obsolescent; using grep -E
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.netbeans.TopSecurityManager (file:/home/gerd/Applications/ancestris/platform/lib/boot.jar)
WARNING: Please consider reporting this to the maintainers of org.netbeans.TopSecurityManager
WARNING: System::setSecurityManager will be removed in a future release


What can I do? I am new to Fedora, so need advise.

Thanks
Gerd
« Last Edit: July 02, 2025, 08:36:58 by GedCom »

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 4 945
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #1 on: July 02, 2025, 09:14:53 »
Do you have the application launching or not ?

The warning is known and tackled with the v13.
This warning prevent to use Ancestris v12 with Java 24, but doesn't prevent to use Ancestris v12 with Java 21.
Ancestris v12 has been developed for Java 17, upped version can display some warning.

Zurga

Offline GedCom

  • VIP
  • Jr. Member
  • *
  • Posts: 11
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #2 on: July 02, 2025, 09:38:26 »
The application did not launch (using Ancestris 12).

I deleted the Ancestris 12 directory, downloaded Ancestris 13 ZIP, unzipped and tried to run ./ancestris (I did not set jdkhome to any value, left it as is as a comment)
The application did not start, the terminal reads:

Code: [Select]
Identifying path and application name:
   progdir=.
   APPNAME=ancestris
 
Checking configuration file on progdir/../etc:
   Configuration file found. Executing it.
 
Identifying userdir from configuration file:
   userdir(from conf file)=/home/gerd/.ancestris/trunk
   userdir(after argument overwrite)=/home/gerd/.ancestris/trunk
 
Checking configuration file on userdir/etc:
   Configuration file from userdir not found.
 
Checking if jdkhome is defined: (for MacOS, /Contents/Home should be at the end)
   jdkhome=
   jdkhome not defined.
 
Checking JAVA presence
   Linux...
================================================================
openjdk version "21.0.7" 2025-04-15
OpenJDK Runtime Environment (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6, mixed mode, sharing)
================================================================
Found JAVA executable in PATH
JAVA is installed.
JAVA version is more than 1.8
jdkhome was left empty.
 
Defining clusters:
   clusters=/home/gerd/Applications/ancestris/ancestris:/home/gerd/Applications/ancestris/harness:
 
Defining exec command:
   nbexec=./../platform/lib/nbexec
 
Running exec command:
   => Linux system detected...
 
Command to be executed:
 
exec /bin/bash './../platform/lib/nbexec'             --jdkhome ''             --clusters '/home/gerd/Applications/ancestris/ancestris:/home/gerd/Applications/ancestris/harness:'             --userdir '/home/gerd/.ancestris/trunk'             --branding ancestris -J-Xms96m -J-Xmx1g --laf javax.swing.plaf.nimbus.NimbusLookAndFeel -J-XX:+IgnoreUnrecognizedVMOptions -J-XX:+UseStringDeduplication -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.zip.disableMemoryMapping=true -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.base/java.lang=ALL-UNNAMED  -J--add-opens=java.base/java.util=ALL-UNNAMED -J--add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED -J--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED -J--add-exports=java.management/sun.management=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED -J--add-opens=java.desktop/java.awt=ALL-UNNAMED -J--add-opens=java.desktop/java.awt.event=ALL-UNNAMED -J--add-exports=java.desktop/java.awt.peer=ALL-UNNAMED -J--add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED -J--add-exports=java.desktop/sun.swing=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt.im=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED -J--add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -J--add-opens=java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED             
 
which: no javac in (/home/gerd/.local/bin:/home/gerd/bin:/usr/local/bin:/usr/bin)


Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 4 945
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #3 on: July 02, 2025, 10:33:39 »
Could you change the jdkhome path ?

I don't know why it doesn't detect correctly the path.

Zurga

Offline GedCom

  • VIP
  • Jr. Member
  • *
  • Posts: 11
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #4 on: July 02, 2025, 10:40:45 »
Zurga,
I added the jdkhome, started ./ancestris vie terminal in /bin.

The application did not start.

It just stopped in the terminal:

Code: [Select]
Identifying path and application name:
   progdir=.
   APPNAME=ancestris
 
Checking configuration file on progdir/../etc:
   Configuration file found. Executing it.
 
Identifying userdir from configuration file:
   userdir(from conf file)=/home/gerd/.ancestris/trunk
   userdir(after argument overwrite)=/home/gerd/.ancestris/trunk
 
Checking configuration file on userdir/etc:
   Configuration file from userdir not found.
 
Checking if jdkhome is defined: (for MacOS, /Contents/Home should be at the end)
   jdkhome=/usr/lib/jvm/java-21-openjdk
 
Checking JAVA presence
   Linux...
================================================================
openjdk version "21.0.7" 2025-04-15
OpenJDK Runtime Environment (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6)
OpenJDK 64-Bit Server VM (Red_Hat-21.0.7.0.6-2) (build 21.0.7+6, mixed mode, sharing)
================================================================
Found JAVA executable in PATH
JAVA is installed.
JAVA version is more than 1.8
 
Defining clusters:
   clusters=/home/gerd/Applications/ancestris/ancestris:/home/gerd/Applications/ancestris/harness:
 
Defining exec command:
   nbexec=./../platform/lib/nbexec
 
Running exec command:
   => Linux system detected...
 
Command to be executed:
 
exec /bin/bash './../platform/lib/nbexec'             --jdkhome '/usr/lib/jvm/java-21-openjdk'             --clusters '/home/gerd/Applications/ancestris/ancestris:/home/gerd/Applications/ancestris/harness:'             --userdir '/home/gerd/.ancestris/trunk'             --branding ancestris -J-Xms96m -J-Xmx1g --laf javax.swing.plaf.nimbus.NimbusLookAndFeel -J-XX:+IgnoreUnrecognizedVMOptions -J-XX:+UseStringDeduplication -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.zip.disableMemoryMapping=true -J--add-opens=java.base/java.net=ALL-UNNAMED -J--add-opens=java.base/java.lang.ref=ALL-UNNAMED -J--add-opens=java.base/java.lang=ALL-UNNAMED  -J--add-opens=java.base/java.util=ALL-UNNAMED -J--add-exports=java.base/sun.reflect.annotation=ALL-UNNAMED -J--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED -J--add-exports=java.management/sun.management=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.text=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.synth=ALL-UNNAMED -J--add-opens=java.desktop/javax.swing.plaf.basic=ALL-UNNAMED -J--add-opens=java.desktop/java.awt=ALL-UNNAMED -J--add-opens=java.desktop/java.awt.event=ALL-UNNAMED -J--add-exports=java.desktop/java.awt.peer=ALL-UNNAMED -J--add-exports=java.desktop/com.sun.beans.editors=ALL-UNNAMED -J--add-exports=java.desktop/sun.swing=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt=ALL-UNNAMED -J--add-exports=java.desktop/sun.awt.im=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.X11=ALL-UNNAMED -J--add-opens=java.desktop/sun.awt.shell=ALL-UNNAMED -J--add-opens=java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -J--add-opens=java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED   


Gerd

Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 4 945
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #5 on: July 02, 2025, 12:10:03 »
Do you have a log here : /home/gerd/.ancestris/trunk/var/log ?

Zurga

Offline GedCom

  • VIP
  • Jr. Member
  • *
  • Posts: 11
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #6 on: July 02, 2025, 12:16:31 »
From three messages here the newest one :

Code: [Select]

-------------------------------------------------------------------------------
>Log Session: Wednesday, July 2, 2025, 11:35:19 AM Central European Summer Time
>System Info:
  Product Version         = Ancestris-13 26-81d21190648c8a1bae92bc9cdb0bb9783ae4912f
  Operating System        = Linux version 6.15.4-200.fc42.x86_64 running on amd64
  Java; VM; Vendor        = 21.0.7; OpenJDK 64-Bit Server VM 21.0.7+6; Red Hat, Inc.
  Runtime                 = OpenJDK Runtime Environment 21.0.7+6
  Java Home               = /usr/lib/jvm/java-21-openjdk
  System Locale; Encoding = de_DE (ancestris); UTF-8
  Home Directory          = /home/gerd
  Current Directory       = /home/gerd/Applications/ancestris/bin
  User Directory          = /home/gerd/.ancestris/trunk
  Cache Directory         = /home/gerd/.ancestris/trunk/var/cache
  Installation            = /home/gerd/Applications/ancestris/ancestris
                            /home/gerd/Applications/ancestris/harness
                            /home/gerd/Applications/ancestris/platform
  Boot & Ext. Classpath   =
  Application Classpath   = /home/gerd/Applications/ancestris/platform/lib/boot.jar:/home/gerd/Applications/ancestris/platform/lib/org-openide-modules.jar:/home/gerd/Applications/ancestris/platform/lib/org-openide-util.jar:/home/gerd/Applications/ancestris/platform/lib/org-openide-util-lookup.jar:/home/gerd/Applications/ancestris/platform/lib/org-openide-util-ui.jar
  Startup Classpath       = /home/gerd/Applications/ancestris/platform/core/asm-9.8.jar:/home/gerd/Applications/ancestris/platform/core/asm-commons-9.8.jar:/home/gerd/Applications/ancestris/platform/core/asm-tree-9.8.jar:/home/gerd/Applications/ancestris/platform/core/core-base.jar:/home/gerd/Applications/ancestris/platform/core/core.jar:/home/gerd/Applications/ancestris/platform/core/org-netbeans-libs-asm.jar:/home/gerd/Applications/ancestris/platform/core/org-openide-filesystems-compat8.jar:/home/gerd/Applications/ancestris/platform/core/org-openide-filesystems.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_ca.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_cs.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_da.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_de.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_el.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_es.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_fi.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_fr.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_it.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_lv.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_nl.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_no.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_pl.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_pt.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_ru.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_sv.jar:/home/gerd/Applications/ancestris/ancestris/core/locale/core_ancestris_tr.jar
  Java Boot Modules       = [java.base, java.compiler, java.datatransfer, java.desktop, java.instrument, java.logging, java.management, java.management.rmi, java.naming, java.net.http, java.prefs, java.rmi, java.scripting, java.security.jgss, java.security.sasl, java.smartcardio, java.sql, java.sql.rowset, java.transaction.xa, java.xml, java.xml.crypto, jdk.accessibility, jdk.attach, jdk.charsets, jdk.compiler, jdk.crypto.cryptoki, jdk.crypto.ec, jdk.dynalink, jdk.editpad, jdk.httpserver, jdk.internal.ed, jdk.internal.jvmstat, jdk.internal.le, jdk.internal.opt, jdk.jartool, jdk.javadoc, jdk.jconsole, jdk.jdeps, jdk.jdi, jdk.jdwp.agent, jdk.jfr, jdk.jlink, jdk.jpackage, jdk.jshell, jdk.jsobject, jdk.jstatd, jdk.localedata, jdk.management, jdk.management.agent, jdk.management.jfr, jdk.naming.dns, jdk.naming.rmi, jdk.net, jdk.nio.mapmode, jdk.random, jdk.sctp, jdk.security.auth, jdk.security.jgss, jdk.unsupported, jdk.unsupported.desktop, jdk.xml.dom, jdk.zipfs]
-------------------------------------------------------------------------------
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/home/gerd/Applications/ancestris/ancestris/modules/ancestris-modules-optionspanel.jar!/ancestris/modules/optionspanel/layer.xml
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/home/gerd/Applications/ancestris/ancestris/modules/ancestris-modules-gedcom-mergefile.jar!/ancestris/modules/gedcom/mergefile/layer.xml
WARNING [org.netbeans.core.projects.cache]: Inefficient to include an empty layer in a module: jar:file:/home/gerd/Applications/ancestris/ancestris/modules/ancestris-gedcom-privacy-standard.jar!/ancestris/gedcom/privacy/standard/layer.xml
WARNING [org.netbeans.modules.autoupdate.ui.actions.AutoupdateSettings]: The property "netbeans.default_userdir_root" was not set!
WARNING [org.netbeans.swing.plaf.Startup]: L&F Warning: Nimbus L&F is not supported L&F yet and system may exhibit various drawing problems. Please use for experimental purposes only.
SEVERE [ancestris]: Cannot instantiate the Ancestris application
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it,

at java.desktop/sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:122)
at genj.renderer.RenderOptions.<init>(RenderOptions.java:53)
at genj.renderer.RenderOptions.<clinit>(RenderOptions.java:46)
Caused: java.lang.ExceptionInInitializerError
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160)
at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103)
at java.base/jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:200)
at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:789)
Caused: java.util.ServiceConfigurationError: genj.option.OptionProvider: Provider genj.renderer.RenderOptions could not be instantiated
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:586)
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813)
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729)
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1403)
at genj.option.OptionProvider.getAllOptions(OptionProvider.java:71)
[catch] at ancestris.app.App$Startup.run(App.java:157)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
WARNING [ancestris]: java.awt.HeadlessException:
WARNING [ancestris]: No X11 DISPLAY variable was set,
WARNING [ancestris]: or no headful library support was found,
WARNING [ancestris]: but this program performed an operation which requires it,
WARNING [ancestris]: at java.desktop/sun.awt.HeadlessToolkit.getScreenResolution(HeadlessToolkit.java:122)
WARNING [ancestris]: at genj.renderer.RenderOptions.<init>(RenderOptions.java:53)
WARNING [ancestris]: at genj.renderer.RenderOptions.<clinit>(RenderOptions.java:46)
WARNING [ancestris]: Caused: java.lang.ExceptionInInitializerError
WARNING [ancestris]: at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
WARNING [ancestris]: at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160)
WARNING [ancestris]: at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
WARNING [ancestris]: at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103)
WARNING [ancestris]: at java.base/jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:200)
WARNING [ancestris]: at java.base/java.lang.reflect.Constructor.acquireConstructorAccessor(Constructor.java:549)
WARNING [ancestris]: at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
WARNING [ancestris]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
WARNING [ancestris]: at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:789)
WARNING [ancestris]: Caused: java.util.ServiceConfigurationError: genj.option.OptionProvider: Provider genj.renderer.RenderOptions could not be instantiated
WARNING [ancestris]: at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:586)
WARNING [ancestris]: at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813)
WARNING [ancestris]: at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729)
WARNING [ancestris]: at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1403)
WARNING [ancestris]: at genj.option.OptionProvider.getAllOptions(OptionProvider.java:71)
WARNING [ancestris]: [catch] at ancestris.app.App$Startup.run(App.java:157)
WARNING [ancestris]: at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
WARNING [ancestris]: at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
WARNING [ancestris]: at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
WARNING [ancestris]: at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
WARNING [ancestris]: at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
WARNING [ancestris]: at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
WARNING [ancestris]: at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
WARNING [ancestris]: at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)


Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 4 945
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #7 on: July 02, 2025, 13:20:06 »
Could you check that you have installed a version of Java with "head" ?
If you have in your list of installed packages only a "headless" version, you can't launch Ancestris.

Try the solution described here : https://discussion.fedoraproject.org/t/cannot-run-java-jar-file-in-wayland-only-fedora-40/111814/4
sudo dnf install java-21-openjdk

Zurga

Offline GedCom

  • VIP
  • Jr. Member
  • *
  • Posts: 11
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #8 on: July 02, 2025, 14:05:37 »
Yes, the only installed version was:
Code: [Select]
rpm -qa | grep openjdk | sort
java-21-openjdk-headless-21.0.7.0.6-2.fc42.x86_64

After running
Code: [Select]
sudo dnf install java-21-openjdk
I get
Code: [Select]
java-21-openjdk-21.0.7.0.6-2.fc42.x86_64
java-21-openjdk-headless-21.0.7.0.6-2.fc42.x86_64

Ancestris is starting. I get the start screen.

Only thing is, that the resolution is strange, see attachment.

Gerd


Offline Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 4 945
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #9 on: July 02, 2025, 14:44:47 »
Great, you have a big screen.

Normally the zoom factor follow the operating system configuration, but in some cases, it is possible that you have the 1px for 1px display.
In the preferences, you can adjust the zoom factor to better fit your needs.
https://docs.ancestris.org/books/user-guide/page/preferences

Zurga

Offline GedCom

  • VIP
  • Jr. Member
  • *
  • Posts: 11
    • View Profile
Re: Installing Ancestris on Fedora42
« Reply #10 on: July 02, 2025, 15:23:14 »
Thanks so much Zurga,

I increased the zoom to the max of 250% and after restarting Ancestris got a rightsized view.

The laptop has only 14'' but 2560x1600 resolution.

Again, your support is highly appreciated.
Gerd