confusing compile time error

chris burdess dog@bluezoo.org
Sun Apr 13 13:42:00 GMT 2003


i wrote:
> i'm currently being told:
> 
> ./source/javax/mail/Message.java:65: Class `javax.mail.Message' already
> defined in source/javax/mail/Message.java:65.
>    public abstract class Message
>                          ^
> ./source/javax/mail/Message.java:81: 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