I ran the hello world program. It was able to compile but when I ran it I received the following message:"Exception in thread "main" java.lang.NoClassDefFoundError: Hello World " did I do something wrong?
Your class name is HelloWorld (all one word), right? You compiled "javac HelloWorld.java" ? You then typed "java HelloWorld" ? From the error message, it appears that you tried to split the class name into two words (i.e. java Hello World).
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt