jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ""NoClassDefFoundError"" Watch ""NoClassDefFoundError"" New topic


Mahesh Pinnamaneni
Ranch Hand

Joined: Jul 02, 2004
Posts: 100
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
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
please see in http://www.coderanch.com/t/397226/java/java/No-ClassDefFoundError

Java Developer, Thailand
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295

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

wood burning stoves
subject: "NoClassDefFoundError"