On Fri, 4 Dec 1998, Steve Cohen wrote:

> I find that I'm unable to get rid of the following errors when I do a
> javac depend of my whole project:
> 
> error: File /usr/local/java/xyz/Scheduler.java does not contain nested
> class xyz.Scheduler. 1 as expected. Please adjust the class path so that
> the file does not appear in the package xyz.
> 
> 
> What the hell is this trying to tell me?
> Of course Scheduler.java doesn't contain the class xyz.Scheduler 1.
> It contains xyz.Scheduler$1
> 
> I've looked and looked.  There appears to be nothing wrong with my code.
> 
> Is this a known bug in javac in jdk 1.1.6?


spend a few minutes getting jikes from http://www.alphaworks.ibm.com/, but
wait until about Monday there. The current version is 0.40 and you do not
want that one. 0.41 is promised for Monday: I have it here and it seems
fine.

Whether javac is broken or not, in such cases it's good to get a second
opinion. Besides, jikes is about ten times faster: I kid you not.


-- 
Cheers
John Summerfield
http://os2.ami.com.au/os2/ for OS/2 support.
Configuration, networking, combined IBM ftpsites index.

Reply via email to