Re: Swing demo example

David Han <[email protected]> Thu, 25 Mar 2004 09:10:01 -0500
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <a05210623bc8896ccb3b1@[128.183.190.142]>
Sounds like you tried to run the program where the IPieChartDataSet 
program is.  Go to the parent directory of 
org/jCharts/chartData/interfaces/IPieChartDataSet and enter

    java org.jCharts.chartData.interfaces.IPieChartDataSet

or remove the package statement in the program and run the program 
the way you did the first time.

Make sure the classpath variable also contains the current directory (.).

David


>i just looked in the jar and that Class is there.  Sounds like your 
>classpath is not correct.
>
>
>--- Junichi Katagiri <[email protected]> wrote:
>>  Hi, everyone.
>>
>>  I installed JChart(0.7.5) for the first time, today.
>>  And tried to compile and execute SwingDemo example.
>>  I succeeded in compile, but I executed it,
>>  Exception was happened.
>>
>>  Exception in thread "main" java.lang.NoClassDefFoundError:
>  > org/jCharts/chartData/interfaces/IPieChartDataSet
>>
>>  I set classpath to jCharts-0.7.5.jar.
>>
>>  How do I execute the example?
>>
>>  Can anyone help me.
>  > Thanks,


-- 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click