This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No class defination found

 
Anuja Navare
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanks!
Anuja
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the class file in your classpath? Or better yet, have you SET your classpath yet?
Go to the DOS prompt and type
>set
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic