[Re: [Re: [Re: [Re: Errors encountered in compiling Java Tutorial example]]]]

me me2fast at usa.net
Fri Nov 5 00:02:03 PST 1999

Archie Cobbs <archie at whistle.com> wrote:
> me writes:
> > Great, the documentation is not apparent about explicitly specifying
> > .JAR that's needed.  Perhaps this is asking way too much, but why can't a
> > directory(s) be specified which can then be parsed for the referenced
.JARs ? 
> > Hasn't this been the case with the C/C++ compilers for specifying INCLUDES
> > LIBS ??
> This is easy to do with kaffe using the .kafferc feature (see man page).
> Here's mine, for example:
>   #!/bin/sh
>   # Add installed *.zip and *.jar to CLASSPATH
>   AUTOZIPJAR=`find ${KAFFE_CLASSDIR} \( -name '*.jar' -o -name '*.zip' \) -a
\! -name Klasses.jar -a \! -name pizza.jar -a \! -name classes.zip | awk '{
printf ":%s", $1 }'`
> -Archie

That's cool, but I have the same problem even with a fully qualified

cat myrun.csh 


java -classpath


java.lang.NoClassDefFoundError: SwingUI/class
	at java.lang.Throwable.<init>(Throwable.java:38)
	at java.lang.Error.<init>(Error.java:21)
	at java.lang.LinkageError.<init>(LinkageError.java:21)
	at java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:21)

BTW, since I upgraded to v1.0.5, I'm assuming that the Make does the updates
to the man pages too.  But all I have for a Kaffe man page is the one for
'kaffe', that's it!  It has a passing mention of 'kafferc' but no details.  Is
this complete ??


me2fast at usa.net

Get free email and a permanent address at http://www.netaddress.com/?N=1

More information about the kaffe mailing list