How to recursively compile?

I have copied our source directory structure for Packages to my hard drive and now need to compile all the source code. There are hundreds of folders! Is there a command I can give that will search through the folders, compile what it finds and leave the class in the same folder as the source code?

I'd really appreciate any help on this or I shall be here for days compiling!!

[399 byte] By [KP1] at [2007-9-26 4:36:57]
# 1
Have you considered purchasing an IDE such as VisualCafe?
cknelsen at 2007-6-29 17:55:24 > top of Java-index,Developer Tools,Java Compiler...
# 2

<< There are hundreds of folders!

This is typical of any Java project of appreciable size.

I used to have nightmarish experiences myself, but only untill I learned about Jakarta Ant from Apache.org

Once I started using Ant, I have been able to spend my time wrting valuable code instead of wasting it in inventing platform specific scripts for compilation, or, more generally, build.

I would strongly encourage you check it out http://jakarta.apache.org/ant/index.html

Learning Ant is a breeze.

And if you feel you need some kind of tutorial, in addition to all the documentation that comes with it, see http://www.javaworld.com/jw-10-2000/jw-1020-ant.html

neville_sequeira at 2007-6-29 17:55:24 > top of Java-index,Developer Tools,Java Compiler...
# 3
in *nix, eg:javac */*/*.java:)
mchan0 at 2007-6-29 17:55:24 > top of Java-index,Developer Tools,Java Compiler...