Re: missing Java classes

> I installed the Sun Java 2 SDK on my Linux & WinXP Pro machines.
> Everything I run aborts with the same error message.  For example:
> 
> $ java kbx
> Exception in thread "main" java.lang.NoClassDefFoundError: edu/stanford/TAP/ClientCallback
> 
> $ java ex9
> Exception in thread "main" java.lang.NoClassDefFoundError: edu/stanford/TAP/Abbrev
>         at ex9.main(ex9.java:11)

Have you put tap.jar in your classpath? As in:

$ java -classpath ./tap.jar ex9

Received on Sunday, 29 December 2002 03:19:06 UTC