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
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.