Just purchased developer guide and got error in netbeans

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
android21
Posts: 13
Joined: Wed Jul 11, 2007 5:56 pm

Just purchased developer guide and got error in netbeans

Post by android21 » Tue Jul 17, 2007 2:20 pm

I just tried to copy and paste DynamicDataDemo1.java, i created an empty java file in the source packages, able to compile it however when i tried to run it i got this error:

init:
deps-jar:
Compiling 1 source file to C:\Program Files\Java\testnetbean\JfreeChart\build\classes
compile-single:
run-single:
java.lang.NoClassDefFoundError: DynamicDataDemo1
Exception in thread "main"
Java Result: 1
BUILD SUCCESSFUL (total time: 6 seconds)


Can anyone help me about this? I am still kinda new to netbeans and jFreeChart? Please.

THanks alot.

android21
Posts: 13
Joined: Wed Jul 11, 2007 5:56 pm

Post by android21 » Tue Jul 17, 2007 2:27 pm

nvm me, just figured it out ><.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Tue Jul 17, 2007 3:04 pm

Was it because you pasted into the default package, but the source has the statement 'package demo;' at the top?
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

android21
Posts: 13
Joined: Wed Jul 11, 2007 5:56 pm

Post by android21 » Wed Jul 18, 2007 4:46 pm

yeah ><", didn't realize that newbie mistake.... Anyway thanks for the quick reply, this guide is really useful :D

Locked