I would like to build my Java project from command line via a single command or external script, not using Eclipse, but just with the JDK. My project has 6 .jar libraries and 6 .java source files. If I need to compile each first, I can do that. I don't want to use ANT or MAVEN. Just plain .sh for now.
There's probably an answer somewhere how to build with libraries and multiple classes, but most search result show Eclipse, Ant, and Maven. There is how to compile each class, to create a .class file. In Eclipse, I even already have that in /bin, so I could just link those together (or could I just run the .class file?) somehow.
So, what command can I use to build a project with 6 .jar files and 6 .java files? I see this (Including jars in classpath on commandline (javac or apt)), but I also want to have separate build directory and am confused whether the class-path should be the build or source directory or both.