at runtime you need to specify the third party apis in your classpath, have you done that?

and why did you bump such an ancient thread?

thanks for taking the time to reply back. Fortunately, I got the thing to work with class files, however, I am still struggling with jar.
can you provide me with the syntax. I used the old thread, since it described the context I was looking for.

tkd

so if you run "java [some_package]/[class_name]" it runs successfully?

I doubt it

what do you mean by "work with class files"?

thanks for taking the time to reply back. Fortunately, I got the thing to work with class files, however, I am still struggling with jar.
can you provide me with the syntax. I used the old thread, since it described the context I was looking for.

tkd

You are better off starting a brand new thread anyway. Few people are going to read through 60+ posts to find out what this thread is about.

Exception in thread "main" java.lang.NoClassDefFoundError: CopyFile1/class

please start a new thread and provide some more information, your code, for instance.
don't keep reviving threads that (should 've) ended years ago

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.