What you have told us isn't really enough information. Saying "it's not work" is as useful a question as us saying "then make it work" is a useful answer.
I suggest you ditch netbeans completely. I don't know very much about how it arranges those files, and I suspect neither do you. Until you're more comfortable with packaging, classpath issues, and jar files, I suggest you work from a more basic editor and use the command line for compiling, running, and jarring.
Recommended reading: Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)