title: How come command line isn't recognizing this java command?
body: <p>I enter <code>java -classpath C:\blahblahblah\software_engineering\cs2.jar</code> as part of a suggestion here: <a href="https://stackoverflow.com/questions/14842124/why-does-my-ide-find-the-jar-but-my-command-line-doesnt/14842158#comment20799927_14842158">Why does my IDE find the JAR but my command line doesn&#39;t?</a> .</p>
  
  <p>I'm pretty sure this is a valid command, but I instead receive this tired list:</p>
  
  <pre><code>Usage: java [-options] class [args...]
             (to execute a class)
     or  java [-options] -jar jarfile [args...]
             (to execute a jar file)
  
  where options include:
      -server       to select the "server" VM
      -hotspot      is a synonym for the "server" VM  [deprecated]
                    The default VM is server.
  
      -cp &lt;class search path of directories and zip/jar files&gt;
      -classpath &lt;class search path of directories and zip/jar files&gt;
                    A ; separated list of directories, JAR archives,
                    and ZIP archives to search for class files.
      -D&lt;name&gt;=&lt;value&gt;
                    set a system property
      -verbose[:class|gc|jni]
                    enable verbose output
      -version      print product version and exit
      -version:&lt;value&gt;
                    require the specified version to run
      -showversion  print product version and continue
      -jre-restrict-search | -jre-no-restrict-search
                    include/exclude user private JREs in the version search
      -? -help      print this help message
      -X            print help on non-standard options
      -ea[:&lt;packagename&gt;...|:&lt;classname&gt;]
      -enableassertions[:&lt;packagename&gt;...|:&lt;classname&gt;]
                    enable assertions
      -da[:&lt;packagename&gt;...|:&lt;classname&gt;]
      -disableassertions[:&lt;packagename&gt;...|:&lt;classname&gt;]
                    disable assertions
      -esa | -enablesystemassertions
                    enable system assertions
      -dsa | -disablesystemassertions
                    disable system assertions
      -agentlib:&lt;libname&gt;[=&lt;options&gt;]
                    load native agent library &lt;libname&gt;, e.g. -agentlib:hprof
                      see also, -agentlib:jdwp=help and -agentlib:hprof=help
      -agentpath:&lt;pathname&gt;[=&lt;options&gt;]
                    load native agent library by full pathname
      -javaagent:&lt;jarpath&gt;[=&lt;options&gt;]
                    load Java programming language agent, see java.lang.instrument
  
      -splash:&lt;imagepath&gt;
                    show splash screen with specified image
  </code></pre>
  
  <p>How come?</p>