By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,806 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,806 IT Pros & Developers. It's quick & easy.

no class definition found error

P: 1
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.NoClassDefFoundError: 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?
Feb 7 '13 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 10K+
P: 12,422
You need to post the code you're using.
Feb 7 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.