title: How do I run java program with multiple classes from cmd?
body: <p>At the moment I am looking for another way to run my Java program from command line, other than adding it to a JAR file. My program has the following number of classes:</p>
  
  <p>The name of the program file - MyProgram<br>
  Main class - Server1<br>
  second class - Client Handler<br>
  Package name - Items<br>
  3rd class - User1<br>
  4th class - User2</p>
  
  <p>The main class and client handler alongside the package will have to run first in order for user 1 &amp; user 2 to run, because they are client classes and are dependent on the main class.</p>