Forums Register Login
No class defination found
When I try to run a program, it gives me error - "exception in main thread - NoClassDefFounderror - myprogramname" The progam has compiled without errors. I have added the directoy where my program is in the dos path & still it's giving this error. Any ideas??
Please help.
Is the class file in your classpath? Or better yet, have you SET your classpath yet?
Go to the DOS prompt and type
and see if there is a classpath parameter and what it is set to.
The path parameter is just for executables. the classpath parameter is for classes that you want the JVM to find.
What's gotten into you? Could it be this tiny ad?
Rocket Oven Kickstarter - from the trailboss

This thread has been viewed 471 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 22, 2018 22:16:19.