I've searched around and I can't find a simple commandline tool that will take a bunch of .java files in a directory and compile to .class files then stick them all in a .jar automatically. I could probably write a script myself but this is one area where I have no interest in reinventing the wheel whatsoever (I'll code up Djikstra's algorithm a million times but I really don't want to waste time on something like this).
Is there a simple tool similar to gcc or ghc which you can just navigate to a directory and invoke upon the files therein in order to produce an executable jar file? I had hope for gcj, but apparently that compiles down to 0s and 1s. Awesome, but not what I'm looking for.
Please don't suggest IDEs. I don't want to deal with netbeans, eclipse, bluej etc. They are amazing pieces of software, but I'm not writing enterprise code and would rather bash it out in a simple text editor.
The two standard tools for this are:
Don't require use of an IDE, but will do exactly what you're looking for in a clean and standard manner.