GanttProject not working on Ubuntu 24.04.1
Ganttproject did not copy over on upgrade from Ubuntu 22.04 to 24.04. New deb install not working - no display, no start. Appears to be java problem. I downloaded and installed full JRE bellsoft-java-17-runtime-full but still no joy....
Please share the contents of /tmp/ganttproject-launch.log file after running ganttproject command
I also use Ubuntu 24.04 and have the same Issue. Ganttproject starts but i am unable to work with it.
- when i open an existing project and try o manipulate anything, the UI shakes and it hangs. No log is written
- when i create a new project and want to add columns it freezes and can only be killed via bash
- both logs .ganttproject.d/logs/ and /tmp/ganttproject-launch.log are not created
What i tried so far
different versions of JRE (Oracle, OpenJDK...) -> seems not to make any differences.
Outputs
running ganttproject via bash says:
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime build
FEIN: We will run with the following plugins:
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin org.ganttproject.chart.pert-3.3.3312 at /usr/share/ganttproject/plugins/base/org.ganttproject.chart.pert/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin biz.ganttproject.impex.msproject2-3.3.3312 at /usr/share/ganttproject/plugins/base/biz.ganttproject.impex.msproject2/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin biz.ganttproject.app.localization-3.3.3312 at /usr/share/ganttproject/plugins/base/biz.ganttproject.app.localization/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin biz.ganttproject.impex.ical-3.3.3312 at /usr/share/ganttproject/plugins/base/biz.ganttproject.impex.ical/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin org.ganttproject.impex.htmlpdf-3.3.3312 at /usr/share/ganttproject/plugins/base/org.ganttproject.impex.htmlpdf/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin net.sourceforge.ganttproject-3.3.3312 at /usr/share/ganttproject/plugins/base/ganttproject/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin biz.ganttproject.app.libs-3.3.3312 at /usr/share/ganttproject/plugins/base/biz.ganttproject.app.libs/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.ModuleRuntime lambda$build$3
FEIN: Plugin biz.ganttproject.core-3.3.3312 at /usr/share/ganttproject/plugins/base/biz.ganttproject.core/plugin.xml
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.Runner run
FEIN: Command line args: [-log, true, -log_file, /home/felix/.ganttproject.d/logs/.ganttproject-20241030115032.log]
Okt. 30, 2024 11:50:33 AM com.bardsoftware.eclipsito.runtime.Runner run
FEIN: Launching application=net.sourceforge.ganttproject.GanttProject
[2024-10-30 11:50:33] [WARN][javafx] Unsupported JavaFX configuration: classes were loaded from 'unnamed module @1bb123db'
ganttproject -v says:
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.base specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.controls specified to --add-exports
WARNING: Unknown module: javafx.graphics specified to --add-exports
Exception in thread "main" com.beust.jcommander.ParameterException: Expected a value after parameter -v
at com.beust.jcommander.JCommander.processFixedArity(JCommander.java:925)
at com.beust.jcommander.JCommander.processFixedArity(JCommander.java:894)
at com.beust.jcommander.JCommander.parseValues(JCommander.java:724)
at com.beust.jcommander.JCommander.parse(JCommander.java:356)
at com.beust.jcommander.JCommander.parse(JCommander.java:335)
at com.bardsoftware.eclipsito.Launch.main(Launch.java:21)
Searching for Java in /usr/share/ganttproject/runtime/bin/java
...missing or not executable
Searching for Java in /usr/bin/java
...found openjdk version "17.0.12" 2024-07-16
JAVA_HOME=
JAVA_COMMAND=/usr/bin/java
GP_HOME=/usr/share/ganttproject
user.dir=/home/felix
Searching for Java in /usr/share/ganttproject/runtime/bin/java
...missing or not executable
Searching for Java in /usr/bin/java
...found openjdk version "17.0.12" 2024-07-16
JAVA_HOME=
JAVA_COMMAND=/usr/bin/java
GP_HOME=/usr/share/ganttproject
user.dir=/home/felix
Did you try installing Liberica Java 17 Full JRE from BellSoft? I recommend doing it using sdkman! (because it allows for easy switching between different Java runtimes) however you may as well download it directly from BellSoft site: https://download.bell-sw.com/java/17.0.13+12/bellsoft-jre17.0.13+12-linux-amd64-full.deb
Yes. I tried to open a project (only one task, nothing else). The app flickers and i only can kill it via bash. The logfile is as follows:
ganttproject-20241030122051.log
EDIT sorry, the logs are written -> i have overseen that they were hidden...
And what is in /tmp/ganttproject-launcher.log ?
Searching for Java in /usr/share/ganttproject/runtime/bin/java
...missing or not executable
Searching for Java in /usr/bin/java
...found openjdk version "17.0.13" 2024-10-15 LTS
JAVA_HOME=
JAVA_COMMAND=/usr/bin/java
GP_HOME=/usr/share/ganttproject
user.dir=/home/felix/OneDrive/Projekte/Hauskauf/Planung/08_Terminplan
The app flickers and i only can kill it via bash.
How does it look like? Can you record a screencast?
I would have to reinstall another JRE, is this neccessarry for You?
Sorry? I don't understand the question. I would like to look at the behavior of GanttProject launched with Liberica 17 Full JRE.
That flickering (was like when you grab the window and wobble it) occured with Liberica 17 Full JRE as well as with OpenJDK and Oracle Java.
Is there anything more i can provide for you?
ganttproject-20241030161223.log
logfile:
GanttProject 3.3.3312
Settings file:
location: /home/felix/.ganttproject
size:6072
is readable: true
java.class.path: :/usr/share/ganttproject/eclipsito.jar:/usr/share/ganttproject/lib/slf4j-api-2.0.4.jar:/usr/share/ganttproject/lib/slf4j-jdk14-2.0.4.jar:/usr/share/ganttproject
java.home: /usr/lib/jvm/bellsoft-java17-runtime-full-amd64
java.ext.dirs: null
java.io.tmpdir: /tmp
java.runtime.version: 17.0.13+12-LTS
java.vendor: BellSoft
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.vendor: BellSoft
java.vm.version: 17.0.13+12-LTS
os.arch: amd64
os.name: Linux
os.version: 6.8.0-47-generic
sun.java.command: com.bardsoftware.eclipsito.Launch --app net.sourceforge.ganttproject.GanttProject --version-dirs /usr/share/ganttproject/plugins:~/.ganttproject.d/updates -log true -log_file /home/felix/.ganttproject.d/logs/.ganttproject-20241030161223.log /home/felix/temp/Hauskauf_V00.2.gan
user.country: DE
user.dir: /home/felix/temp
user.home: /home/felix
user.language: de
user.timezone: Europe/Berlin
[2024-10-30 15:12:29] [INFO][org.jooq.Constants]
jOOQ tip of the day: While you don't have to use jOOQ's code generator, there are *lots* of awesome features you're missing out on if you're not using it!
[2024-10-30 15:13:09] [INFO][net.sourceforge.ganttproject] [GanttOptions] save(): finished!!
Nice ) Did you try changing the appearance/font/window size/monitor? I mean, this looks as if something is wrong somewhere in the depth of the UI libraries, and is quite specific to your setup. Also, I recommend trying our ZIP distro (it completely relies on the JavaFX from JRE while DEB is bundled with JavaFX) and Java 21 (probably a bug that causes flickering is fixed there)
I tried your suggestions:
UI
- changed apperance to Nimbus (was GTK+ before)
- set DPI to 96 (i have a monitor with UHD so everything is very small)
It seems to work now. I will report when there are changes and try the ZIP distro then as well.
a little OT: Is there a way to change the font size in the timeline?
I installed Azul Zulu JDK on Arch, but still can't run the app
I installed
Azul Zulu JDKon Arch, but still can't run the app
You need a JRE 17 with FX modules. In case of Azul, here is a link to their packages: https://www.azul.com/downloads/?version=java-17-lts&os=linux&package=jre-fx#zulu
ok, i encounter the same problem. I am newbie to java stuff. ganttproject launch stopps after splash screen and i have to hit CTRL_C to get back to my bash.
output:
Aug. 25, 2025 9:09:05 AM com.bardsoftware.eclipsito.runtime.Runner run
FEIN: Command line args: [-log, true, -log_file, /home/fds/.ganttproject.d/logs/.ganttproject-20250825090904.log]
Aug. 25, 2025 9:09:05 AM com.bardsoftware.eclipsito.runtime.Runner run
FEIN: Launching application=net.sourceforge.ganttproject.GanttProject
[2025-08-25 09:09:05] [WARN][javafx] Unsupported JavaFX configuration: classes were loaded from 'unnamed module @6de1c6de'
^C <--- hit by me as ganttproject is not starting...
The log was written to /home/fds/.ganttproject.d/logs/.ganttproject-20250825090904.log
Searching for Java in /usr/share/ganttproject/runtime/bin/java ...missing or not executable Searching for Java in /usr/bin/java ...found openjdk version "17.0.15" 2025-04-15 JAVA_HOME= JAVA_COMMAND=/usr/bin/java GP_HOME=/usr/share/ganttproject user.dir=/home/fds
Searching for Java in /usr/share/ganttproject/runtime/bin/java ...missing or not executable Searching for Java in /usr/bin/java ...found openjdk version "17.0.15" 2025-04-15 JAVA_HOME= JAVA_COMMAND=/usr/bin/java GP_HOME=/usr/share/ganttproject user.dir=/home/fds
mentioned LOG:
GanttProject 3.3.3316 Settings file: location: /home/fds/.ganttproject size:0 is readable: false java.class.path: :/usr/share/ganttproject/eclipsito.jar:/usr/share/ganttproject/lib/slf4j-api-2.0.4.jar:/usr/share/ganttproject/lib/slf4j-jdk14-2.0.4.jar:/usr/share/ganttproject java.home: /usr/lib/jvm/java-17-openjdk-amd64 java.ext.dirs: null java.io.tmpdir: /tmp java.runtime.version: 17.0.15+6-Debian-1 java.vendor: Debian java.vm.name: OpenJDK 64-Bit Server VM java.vm.vendor: Debian java.vm.version: 17.0.15+6-Debian-1 os.arch: amd64 os.name: Linux (BTW: I am on Debian Testing) os.version: 6.12.17-amd64 sun.java.command: com.bardsoftware.eclipsito.Launch --app net.sourceforge.ganttproject.GanttProject --version-dirs /usr/share/ganttproject/plugins:~/.ganttproject.d/updates -log true -log_file /home/fds/.ganttproject.d/logs/.ganttproject-20250825090904.log user.country: DE user.dir: /home/fds user.home: /home/fds user.language: de user.timezone: Europe/Berlin
/tmp/ganttproject-launcher.log
Searching for Java in /usr/share/ganttproject/runtime/bin/java ...missing or not executable Searching for Java in /usr/bin/java ...found openjdk version "17.0.15" 2025-04-15 JAVA_HOME= JAVA_COMMAND=/usr/bin/java GP_HOME=/usr/share/ganttproject user.dir=/home/fds
I recommend installing Java 17 with JavaFX modules from BellSoft. This distro is called "Full JRE" on their web site, Here is a direct link: https://download.bell-sw.com/java/17.0.16+12/bellsoft-jre17.0.16+12-linux-amd64-full.deb
For what it's worth .. I'm running into the same troubles as reported in this issue.. except I am forced to use OpenJDK/OpenJFX because I am on Alpine Linux which uses musl instead of glibc. Liberica and Zulu are not possible to use due to the glibc requirement. As it stands, it would seem that Ganttproject unfortunately cannot be used on Alpine.
It would be unreasonable to expect this project to support every small operating system under the sun, however, release testing against OpenJDK would surely be a step in the right direction. Just my 2 cents
Modifying the ganttproject script from this...
"$JAVA_COMMAND" -Dgpcloud=prod -Dorg.jooq.no-logo=true -Xmx2048m $JAVA_EXPORTS -Duser.dir="$(pwd)" $DEBUG_ARGS $BOOT_CLASS \
to this...
"$JAVA_COMMAND" --module-path /usr/lib/openjfx --add-modules javafx.controls,javafx.fxml -Dgpcloud=prod -Dorg.jooq.no-logo=true -Xmx2048m $JAVA_EXPORTS -Duser.dir="$(pwd)" $DEBUG_ARGS $BOOT_CLASS \
gets rid of the module errors (e.g. WARNING: Unknown module: javafx.XYZ specified to --add-exports), but the GUI fails to launch.
@wayward777 There is an OpenJFX package for Alpine: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/openjfx
I did not test it, but you may want to try. Let us know if you would be able to make it working.
@wayward777 There is an OpenJFX package for Alpine: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/openjfx
I did not test it, but you may want to try. Let us know if you would be able to make it working.
Well what do you know... I came here to reply to say that I tried OpenJDK/JFX and it wasn't working, but I guess all I needed was a reboot because I just tested it again and it decided to work. I was banging my head against the wall for a good 2 hours trying to get it to work.. lo and behold, "have you tried turning it off and then on again" actually fixed the problem