I have downloaded “ganttproject-2.8.9-r2335.zip” file on fedora os (Version fedora29).
Extracted files to “ganttproject-2.8.9-r2335” folder and changed ganttproject.bat file permissions to executable.
Running bat file gives below message
ERROR: error getting working directory name: no such file or directory
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 1: @echo: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 2: $’\r’: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 3: SET: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 4: $’\r’: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 5: SET: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 6: IF: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 7: $’\r’: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 8: SET: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 8: fg: no job control
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 9: $’\r’: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 10: SET: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 11: SET: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 12: $’\r’: command not found
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 13: fg: no job control
/home/petcare/Documents/ganttproject-2.8.9-r2335/ganttproject.bat: line 22: syntax error: unexpected end of file
When i run “java -version” from within unzipped folder, i get following
Unrecognized option: --version
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
When i drop one level to Documents folder running “java -version” gives
openjdk version “1.8.0_191”
OpenJDK Runtime Environment (build 1.8.0_191-b13)
OpenJDK 64-Bit Server VM (build 25.191-b13, mixed mode)
Where can i find installation instructions relevant on fedora?
On fedora can ganttproject be installed or i have to open by running bat file every time?
Thanks in advance.
After running ganttproject script, i have following warning in log file.
As these are not errors can we assume installation was successful?
Are there more steps for installation? Cannot see ganttproject under list of installed programs.
Jan 23, 2019 9:57:16 AM org.bardsoftware.impl.eclipsito.BootImpl$1 uncaughtException
WARNING: [uncaughtException]java.awt.HeadlessException
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.(Window.java:536)
at java.awt.Frame.(Frame.java:420)
at javax.swing.JFrame.(JFrame.java:233)
at net.sourceforge.ganttproject.GanttSplash.(GanttSplash.java:32)
at net.sourceforge.ganttproject.GanttProject$14.run(GanttProject.java:1008)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Jan 23, 2019 9:57:17 AM net.sourceforge.ganttproject.GPLogger log
INFO: Waiting until main window closes
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.(Window.java:536)
at java.awt.Frame.(Frame.java:420)
at javax.swing.JFrame.(JFrame.java:233)
at net.sourceforge.ganttproject.GanttProjectBase.(GanttProjectBase.java:102)
at net.sourceforge.ganttproject.GanttProject.(GanttProject.java:191)
at net.sourceforge.ganttproject.GanttProject$15.run(GanttProject.java:1021)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Jan 23, 2019 9:57:17 AM org.bardsoftware.impl.eclipsito.BootImpl$1 uncaughtException
WARNING: [uncaughtException]java.lang.NullPointerException
java.lang.NullPointerException
at net.sourceforge.ganttproject.GanttProject$15.run(GanttProject.java:1046)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)