Re: Rendering chart from bootchart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux