aspose file tools*
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark ""NoClassDefFoundError"" Watch ""NoClassDefFoundError"" New topic
Author

"NoClassDefFoundError"

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
regards,
Mahesh
somkiat puisungnoen
Ranch Hand

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


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Ramaswamy Srinivasan
Ranch Hand

Joined: Aug 31, 2004
Posts: 295
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: "NoClassDefFoundError"