*
The moose likes Swing / AWT / SWT and the fly likes NoClassDefFound error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "NoClassDefFound error" Watch "NoClassDefFound error" New topic
Author

NoClassDefFound error

Eric Edwards
Greenhorn

Joined: Oct 13, 2005
Posts: 28
I am using the newest version of TextPad, windows xp pro, etc.
When I try to run this app from TextPad or the command lline I get a:
Exception in thread main
java.lang.NoClassDefFound InvoiceApp
error on the TextPad and command line console.
I am using a book and teaching myself java--I'm stuck here.
My code is below.
Thanks in advance for any help.
Eric



[ November 07, 2005: Message edited by: eric edw ]
[ November 07, 2005: Message edited by: eric edw ]
Eric Edwards
Greenhorn

Joined: Oct 13, 2005
Posts: 28
Figured it out.
I had installed Quick Time the other day so I could view something.
QT had installed something called QT java and had changed my class path.
After I uninstalled QT, it corrected my class path and all is working fine now.
Another lesson learned on things to check.
Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: NoClassDefFound error
 
Similar Threads
Class and Object Problem
Componet Allignment
FlowLayout Display Problems
Won't Display
Please help me - accumulating scores!