Java CL compiling: Adding multiple JAR files
<p>I'm trying to find the simplest way to compile some Java code via Command Line while including multiple JAR files. This is what I've most recently tried and it does not seem to work.</p>

<pre><code>javac -d bin -sourcepath src -cp lib/* ConfigToExcel.java 
</code></pre>

<p>The error I'm getting is </p>

<pre><code>javac: invalid flag: lib/FIRST_JAR_FILE.jar
</code></pre>

<p>I'm sure there is a simple fix to this issue but I cannot seem to find it.</p>