• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem with running the java code  RSS feed

 
Shivaraj Gowda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working with Jdk6.0 when i compile my java code a class file is created but when i run that its throwing a exception as "no class definition found"...........what should i do to solve this problem
 
Campbell Ritchie
Marshal
Posts: 56546
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please supply the exact stack trace, and exactly how you are invoking the class.
Show us a printout of your system classpath; if there is no system classpath don't create one.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!