#120 How do I use CRONoMeter?

open
nobody
None
5
2010-06-09
2010-06-09
Anonymous
No

I placed the CRONoMeter.app folder in /usr/share/java/ and tried
[root@desktop CRONoMeter.app]# java -jar Contents/Resources/Java/cronometer.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/swingx/JXBusyLabel
at ca.spaz.cron.CRONOMETER.main(CRONOMETER.java:584)
Caused by: java.lang.ClassNotFoundException: org.jdesktop.swingx.JXBusyLabel
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
... 1 more
[root@desktop CRONoMeter.app]#

Discussion


  • Anonymous
    2010-06-09

    Ok so I hunted some more and found cronometer.sh on the spaz website but still nothing. Just a different set of errors.
    [root@desktop Downloads]# ./cronometer.sh
    ./cronometer.sh: line 9: cd: CRONoMeter.app/Contents/Resources/Java/: No such file or directory
    Exception in thread "main" java.lang.NoClassDefFoundError: ca/spaz/cron/CRONOMETER
    Caused by: java.lang.ClassNotFoundException: ca.spaz.cron.CRONOMETER
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
    Could not find the main class: ca.spaz.cron.CRONOMETER. Program will exit.