title: How do I run .class files on windows from command line?
body: <p>I'm trying to run .class file from command line. It works when I manually move to the directory it's stored in, but when I try something like this:</p>
  
  <pre><code>java C:\Peter\Michael\Lazarus\Main
  </code></pre>
  
  <p>it says it can't find the main class. Is there any solution to this other than making a .jar file (I know that .jar is the best solution, but at this moment isn't the one I'm looking for)?</p>