• Post Reply Bookmark Topic Watch Topic
  • New Topic

exception no classdeffound  RSS feed

 
ashokp kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
i have a class named Demo after compiling, while im trying to run im getting an error

Exception in thread "main" java.lang.NoClassDefFoundError:
plz help me

ashok
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16028
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is the #1 frequently asked question by Java beginners. Search for "NoClassDefFoundError" with Google and you'll find lots of answers in seconds.

This means you have not set your classpath correctly or that you're typing in a wrong command.

Please have a look at Sun's Hello World Tutorial. The section Common Problems explains what this error message means and what to do about it.
[ November 28, 2006: Message edited by: Jesper Young ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!