Discussion

Immediate failure when trying to run on Fedora 17

October 17, 2012 - 10:31 am
3 comment(s)

I have just downloaded ProjectLibre and extracted it into a directory:

[doug@cardraeh ProjectLibre]$ ls
antlr.txt               openproj-contrib.jar
Apache-LICENSE-2.0.txt  openproj-reports.jar
apple.txt               openproj-script.jar
bsd-generic.txt         osx-adapter.txt
CDDL.txt                projectlibre-1.5.1.tar.gz
cpl-1.0.txt             projectlibre.bat
groovy.txt              projectlibre.jar
iCal4j.txt              projectlibre.sh
index.html              readme.html
index_html_0.gif        sun-jwsdp.txt
Jasper-LGPL.txt         sun.txt
jgoodies-forms.txt      third-party-licenses-with-build-libs.html
lgpl-2.1.txt            xstream.txt
license.rtf

As soon as I run the shell script, I get an error:

;[doug@cardraeh ProjectLibre]$ ./projectlibre.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/collections/Closure
    at com.projity.pm.graphic.gantt.Main.main(Unknown Source)
    at com.projity.main.Main.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.Closure
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    ... 2 more
[doug@cardraeh ProjectLibre]$

 

Any idea what I need to do?

 

Cheers,

Doug

3 Comments

October 17, 2012 - 22:41 pm

Hi Doug,

Thank you for the message and dump..... we'll look into that this morning.  I do know that the Linux packaging for the new ProjectLibre 1.5.1 was the last thing done and we'll correct the problem. The team will get back to you shortly.

 

Cheers,

 

Marc

October 17, 2012 - 22:57 pm

Have you tried to use the rpm.

The rpm has been tested on Fedora 17. It works fine with the default packages. It's better to use it instead of  tar.gz

For tar.gz, projectlibre.sh has to run inside the projectlibre directory (same level as projectlibre.jar). It the same as running java -jar projectlibre.jar but does additional checks.

 

October 18, 2012 - 07:47 am

Thanks for the replies.

Using the .tar.gz archive files and running the shell script from the extraction directory, the attempt to run ProjectLibre always failed.

I found the rpm and installed it: the software is now running correctly.

The rpm was a bit hard to locate, as the web page layout at http://sourceforge.net/projects/projectlibre/ was not wide enough to allow the full filenames to render. See https://picasaweb.google.com/109215585096336155638/ProjectLibre?authuser=0&authkey=Gv1sRgCLXrnPjnob-QpAE&feat=directlink for a screenshot, showing why the file was hard to spot. If I had realised there was an rpm available, I would have tried that first.

Now, I have to get to grips with the software.  "8-)

Thanks for your help.

Doug