File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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

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

I agree. Here's the link:
subject: "NoClassDefFoundError"
It's not a secret anymore!