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

Kit ktm at gims.net
Wed Nov 3 18:09:49 PST 1999


On Wed, 03 Nov 1999, me wrote:
> 
> Ok, even after doing that, and copying the JARs to /usr/local/share/kaffe:
> 
> -rw-r--r--   1 root     root       885137 Oct 28 01:09 Klasses.jar
> -rw-r--r--   1 root     ftp        140032 Nov  3 13:54 beaninfo.jar
> -rw-r--r--   1 root     root      8828109 May 10 06:07 classes.zip
> -rw-r--r--   1 root     root         8081 Oct 28 01:09 comm.jar
> -rw-r--r--   1 root     root       557705 Oct 28 01:09 kjc.jar
> -rw-r--r--   1 root     ftp        112735 Nov  3 13:54 mac.jar
> -rw-r--r--   1 root     root         3100 Oct 28 01:09 microsoft.jar
> -rw-r--r--   1 root     ftp        173690 Nov  3 13:54 motif.jar
> -rw-r--r--   1 root     ftp         42237 Nov  3 13:54 multi.jar
> -rw-r--r--   1 root     root         5486 Oct 28 01:09 pjava.jar
> -rw-r--r--   1 root     root        81376 Oct 28 01:09 rmi.jar
> -rw-r--r--   1 root     root        11983 Oct 28 01:09 servlet.jar
> -rw-r--r--   1 root     ftp       1897143 Nov  3 13:54 swing.jar
> -rw-r--r--   1 root     ftp       2420388 Nov  3 13:54 swingall.jar
> -rw-r--r--   1 root     root        17976 Oct 28 01:09 tools.jar
> -rw-r--r--   1 root     ftp         94143 Nov  3 13:54 windows.jar
> 
> I'm still encountering the same error:
> 
> javac ApptoAppl.java
> ApptoAppl.java:11: Can''t find class "JLabel" §8
> 
> Moreover, I've encountered similar errors with the examples that are available
> in the Swing 1.1.1 package:
> 
> javac SwingApplet.java
> SwingApplet.java:40: Can''t find class "JApplet" §8
> 
> 
> What's going on here?  So far I've gained 0 productivity from Kaffe, inspite
> of being due diligent with the documentation, email archives, etc.
> 
> What am I missing ???

hmmphmumblegrumblehnnnnnaaaaauuuuggggghhhhh!
<ahem>

perhaps you should re-read the documentation wrt the javac command line options.
pay close attention to the '-classpath' argument.

you need 'swingall.jar' to be in your classpath if you are to compile swing
code.

what the heck were using before kaffe?

TTFN.
Kit



More information about the kaffe mailing list