confusing compile time error

chris burdess
Sun Apr 13 13:42:00 GMT 2003

i wrote:
> i'm currently being told:
> ./source/javax/mail/ Class `javax.mail.Message' already
> defined in source/javax/mail/
>    public abstract class Message
>                          ^
> ./source/javax/mail/ confused by earlier errors, bailing out

after numerous tests i have determined that this will happen if the
classpath includes the sources to compile. this is a real pain as
setting the classpath to include the sources is the only way for gcj to
resolve package imports.
chris burdess

More information about the Java mailing list