Since ganttproject is a Java program, sometimes it gets confused about the directories. If you simply download the .zip archive, unzip it, then drop into the directory and run ganttproject.sh, it should start up.
[root@sampath ~]# ganttproject
I would not do this as root. Ganttproject does not need root privileges to run.