Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

"NoClassDefFoundError"

 
Mahesh Pinnamaneni
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hai buddies,
when i tried to run the class file i am getting the following error.

"Exception in thread "main" java.lang.NoClassDefFoundError: TestThinApp"

i have just installed jsdk1.4.0.are there any settings i have to make instead to work fine.
thanking u
regards,
Mahesh
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please see in http://www.coderanch.com/t/397226/java/java/No-ClassDefFoundError
 
Ramaswamy Srinivasan
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This might be due to the problem in the class path.

Try typing set classpath=%classpath%;.(including he dot at the end)

Now try compiling...or set the class path properly in the environment variables

Cheers,
Swamy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic