My Java application has got a package structure similar to this:

```
src/com/name/app 
src/com/name/app/do 
src/com/name/utils/db

```

How would I go about compiling Java files in these directories in to a runnable jar? I need to package required libraries into the generated JAR (jdbc). 

I've always done these things in Eclipse but now I need to supply a couple of people with a way to compile the repository without the use of eclipse and I was thinking of making a makefile or a script that invokes the necessary javac pattern.