Compiling many source files at once
I want to compile many .java files at once but don't want to have to enter the file names into the command line one by one. (At this point it is a long and rather irrelevant but nonetheless sordid story why I am not using an IDE.) I have done some cursory googling (not as fun as it sounds) and would like to confirm that if I set the sourcepath to the directory that contains all of the source files, javac will compile all the Java source files in the directory.
Am I correct?
Re: Compiling many source files at once
My advice would be to try what you suggest. Despite the resistance you may have to using an IDE, they are built to handle things such as this, and then some.
Re: Compiling many source files at once
Quote:
Originally Posted by
copeg
My advice would be to try what you suggest. Despite the resistance you may have to using an IDE, they are built to handle things such as this, and then some.
Oh, I'm not resistant to using an IDE. I've just had two computers fail on me recently and I have been so busy that I haven't really thought about downloading Eclipse again.
Re: Compiling many source files at once
Here's what will save you: