On Friday 21 May 2010 10:47 AM, Mike Park wrote: >> And the java application supplied with bootchart generates >> the following error. >> >>> $ java -jar /usr/share/java/bootchart.jar >>> Exception in thread "main" java.lang.NoClassDefFoundError: >>> org/apache/commons/cli/ParseException >>> Caused by: java.lang.ClassNotFoundException: >>> org.apache.commons.cli.ParseException >>> � � � �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:319) >>> � � � �at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) >>> � � � �at java.lang.ClassLoader.loadClass(ClassLoader.java:264) >>> � � � �at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332) >>> Could not find the main class: org.bootchart.Main. Program will exit. >> >> What seems to be wrong? > > Yeah, actually, you want to just run the provided /usr/bin/bootchart > script since that sets up the config properly: > > [emparq@bart:~]$ bootchart > Parsing /var/log/bootchart.tgz > Wrote image: ./bootchart.png > > ...trying to launch it from just the .jar itself results in that error > you mentioned. I haven't explored any other way to generate my > bootchart, but running the script definitely works for me. > Thanks a lot Mike! This works like a charm now. :) > > --Mike -- Suvayu Open source is the future. It sets us free. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines