My structure looks like this
\Project1
\src
\pkg1
Main.java
\pkg2
Auxillary.java
\Destination
\class
\lib
I need to compile Main.java which has dependencies in Auxillary.java and jars in \lib into \Destination\class
I am in the Project1 directory.
I tried
javac -cp Destination\lib\*;src\pkg2\* -d Destination\class
However, I get a package not found for Auxillary.java.
What am I doing wrong?