newbie asks how to compile interdependent classes
Tom Tromey
tromey@redhat.com
Fri Sep 13 11:28:00 GMT 2002
>>>>> "Jonathan" == Jonathan Cohen <jcohen79@hotmail.com> writes:
Jonathan> javac -g -classpath c:\my\classes -d c:\my\classes -sourcepath
Jonathan> c:\my\src %1.java
Jonathan> It figures out what files haven't been seen yet and compiles
Jonathan> those.
gcj doesn't yet automatically recompile files that have changed.
Meanwhile just pass all your .java files to gcj (or compile them
individually).
Jonathan> Back on Linux, how to I get gcj to stop reporting an error
Jonathan> that it could not import the other class?
I don't understand. What command line did you use? What is the exact
error message?
Tom
More information about the Java
mailing list