i had the same problem. Using oracle-jdk-8 on Ubuntu 18.04
starting from Terminal i get fixed by setting env vars for JAVA_HOME
starting ganttproject from Gnome Desktop Environment, clicking on ganttproject brings no effect, nothing happens. no log from what happens trying to start GP found.