Index: [thread] [date] [subject] [author]
  From: Janel Baskerville <jlb18@acpub.duke.edu>
  To  : 
  Date: Mon, 29 Mar 1999 07:05:13 -0500

Re: Error

But I have done all of this and it is in the right directory. I still do not
know what is wrong because this error comes up when I run the program not
compile it.

Michael Abernethy wrote:

> You most likely forgot to make your constructor public or you named your
> Dice class something other than Dice, or your Dice class isn't in the
> same directory as the PigGame class.
>
> >
> > Does anyone know what this error means:
> >
> > java.lang.NoClassDefFoundError: Dice
> >         at PigGame.playGame(PigGame.java:28)
> >         at PigGame.main(PigGame.java:69)
> >
>
> Mike Abernethy
> www.duke.edu/~mna
> IBM Club Cyberblue - www.cybrblu.ibm.com



Index: [thread] [date] [subject] [author]