> I typed in the first example program from Java in a Nutshell and
> installed the Java SDK from Sun's website on my WinXP system. The
[quoted text clipped - 3 lines]
> Exception in thread "main" java.lang.NoClassDefFoundError:
> Factorial/class
try this:
C:\home\java> java Factorial 4
Andrew Thompson - 18 May 2004 17:59 GMT
> try this:
>
> C:\home\java> java Factorial 4
That will work if the current directory
is part of the classpath, otherwise, this
can add the current directory.
C:\home\java> java -cp . Factorial 4

Signature
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
Roedy Green - 19 May 2004 00:26 GMT
>NoClassDefFoundError
see http://mindprod.com/jgloss/gettingstarted.html
http://mindprod.com/jgloss/helloworld.html
http://mindprod.com/jgloss/errormessages.html#NOCLASSDEFFOUNDERROR
http://mindprod.com/jgloss/classpath.html

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.