no class definition found error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • keshav khinde
    New Member
    • Feb 2013
    • 1

    no class definition found error

    I am completly new to Java and to programing in general. I have downloaded and installed JDK version 6, update 7 on my system runninig Windows XP SP3.
    I have the path set and the compiler running but when I try the java command I get this error message;

    Exception in thread "main" java.lang.NoCla ssDefFoundError : hello (wrong name: Hello)

    I copied the sorce code exactly from the instructions I am following and have been searching the web for an answer.
    Where did I go wrong?
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    You need to post the code you're using.

    Comment

    Working...