newbie asks how to compile interdependent classes

Jonathan Cohen jcohen79@hotmail.com
Fri Sep 13 10:04:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /