Compiling java-files with imports from external jared packages

David Daney ddaney@avtrex.com
Tue Mar 14 20:36:00 GMT 2006


Andreas Piening wrote:
> Hallo Daney,
>> thank you very much. Could I instruct gcj to compile all not allready 
> compiled java-classes that are referenced automatically? I have 
> unpacked the jar, but can't compile the WebServer.java because it uses 
> other not compiled Java-files.

You don't have to unpack a jar file to compile it. You have to compile 
all java/class/jar files that are used/needed.
> It would be very time consuming to try 
> the compilation process again and again to find out what java files are 
> used and it what order they should be compiled.

Often life puts obstacles like this in our path.
David Daney


More information about the Java mailing list

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