BTW, I have tried to launch Java 17 with the same approach I use Java 11.
This is the log of the crash when opening the dialog window to open a file.
C:\Users\00966789r\ganttproject.log
GanttProject 3.1.3103
Settings file:
location: C:\Users\00966789r.ganttproject
size:7319
is readable: true
java.class.path: ;.\eclipsito.jar;.
java.home: C:\Users\00966789r\Downloads\jre-17.0.3-full
java.ext.dirs: null
java.io.tmpdir: c:\temp
java.runtime.version: 17.0.3+7-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 17.0.3+7-LTS
os.arch: amd64
os.name: Windows 10
os.version: 10.0
sun.java.command: com.bardsoftware.eclipsito.Launch --verbosity 1 --version-dirs plugins;~/.ganttproject.d/updates --app net.sourceforge.ganttproject.GanttProject -log true
user.country: ES
user.dir: C:\Users\00966789r\Downloads\ganttproject-3.1.3100
user.home: C:\Users\00966789r
user.language: es
user.timezone: Europe/Madrid
may 04, 2022 2:38:58 P. M. biz.ganttproject.LoggerImpl error
GRAVE: Can’t set awtAppClassName (needed on Linux to show app name in the top panel)
may 04, 2022 2:38:59 P. M. net.sourceforge.ganttproject.GPLogger log
INFORMACIÓN: Deleting old auto-save files
may 04, 2022 2:39:04 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: Creating main frame…
may 04, 2022 2:39:04 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 1. loading look’n’feels
may 04, 2022 2:39:06 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 2. loading options
may 04, 2022 2:39:07 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 3. creating menus…
may 04, 2022 2:39:07 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 4. creating views…
may 04, 2022 2:39:07 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 5. calculating size and packing…
may 04, 2022 2:39:08 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 6. changing language …
may 04, 2022 2:39:08 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 7. first attempt to restore bounds
may 04, 2022 2:39:08 P. M. biz.ganttproject.LoggerImpl debug
DETALLADO: 8. finalizing…
may 04, 2022 2:39:15 P. M. net.sourceforge.ganttproject.GPLogger logToLogger
ADVERTENCIA: class impl.org.controlsfx.skin.NotificationPaneSkin (in unnamed module @0x5a94eeef) cannot access class com.sun.javafx.scene.traversal.ParentTraversalEngine (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.scene.traversal to unnamed module @0x5a94eeef
java.lang.IllegalAccessError: class impl.org.controlsfx.skin.NotificationPaneSkin (in unnamed module @0x5a94eeef) cannot access class com.sun.javafx.scene.traversal.ParentTraversalEngine (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.scene.traversal to unnamed module @0x5a94eeef
at impl.org.controlsfx.skin.NotificationPaneSkin.(NotificationPaneSkin.java:117)
at org.controlsfx.control.NotificationPane.createDefaultSkin(NotificationPane.java:227)
at javafx.controls/javafx.scene.control.Control.doProcessCSS(Unknown Source)
at javafx.controls/javafx.scene.control.Control$1.doProcessCSS(Unknown Source)
at javafx.controls/com.sun.javafx.scene.control.ControlHelper.processCSSImpl(Unknown Source)
at javafx.graphics/com.sun.javafx.scene.NodeHelper.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Node.processCSS(Unknown Source)
at javafx.graphics/javafx.scene.Scene.doCSSPass(Unknown Source)
at javafx.graphics/javafx.scene.Scene$ScenePulseListener.pulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.Toolkit.lambda$runPulse$2(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.Toolkit.runPulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.Toolkit.firePulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulse(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(Unknown Source)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(Unknown Source)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)