This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
newbie asks how to compile interdependent classes
- From: "Jonathan Cohen" <jcohen79 at hotmail dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 13 Sep 2002 13:04:18 -0400
- Subject: newbie asks how to compile interdependent classes
- Bcc:
I'm just starting with Java, and I written some classes
that import each other. With javac I can compile them thusly:
{warning msdos ahead)
javac -g -classpath c:\my\classes -d c:\my\classes -sourcepath c:\my\src
%1.java
It figures out what files haven't been seen yet and compiles
those.
Back on Linux, how to I get gcj to stop reporting an error that
it could not import the other class?
Thanks,
Jon
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com