This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

newbie asks how to compile interdependent classes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]