The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
January 2002

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Nope

Posted by Hiran on January 25, 2002 at 5:26 PM

Now the message is:


Exception in thread "main" java.lang.NoClassDefFoundError: HoursTracker/HoursTrackerGUI

I switched to c:\javatemp, and I executed java HoursTracker.HoursTrackerGUI and I got that error. Also, I did include the app.show() in the main class.
Hiran
PS. Last time I use a program like JBuilder before I fully understand about packages and all that!

> I am glad it doesnt run that way.

> First, change to c:\javatemp

> From there, execute java packageName.HoursTrackerGUI

> Before that, the class doesnt have a show() method. You might want to add it.






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us