I have set of .java files in different packages. For example,
src
|- Main.java
|- pkg1
|- pkg2
|- A.java
|- B.java
|- C.java
|- pkg3
|- pkg4
|- D.java
|- E.java
How can I compile all these .java files and then build the .jar library using command line in Windows platform ?