title: How can I get scala to work in the command line?
body: <p>I run Windows 7.</p>
  
  <p>I have java (a current enough version to run scala) and scala downloaded on my computer.  I've set PATH so that when I type "scala" into the command prompt it sends me to the proper interface:</p>
  
  <p>Welcome to Scala version 2.9.1.final (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_51)
  Type in expressions to have them evaluated.
  Type :help for more information</p>
  
  <p>However I can't execute the command "scala" or "scalac" on my test files.</p>
  
  <pre><code>scala&gt; scala Hello
  (console):8: error: object Hello is not a member of package scala
  </code></pre>
  
  <p>This makes me think I'm in the wrong directory.  The file Hello.scala is saved in the home directory that I set PATH to.</p>
  
  <p>However I get a different issue when I try to compile code.</p>
  
  <pre><code>scala&gt; scalac Hello.scala
  (console):1: error: ';' expected but '.' found.
  </code></pre>
  
  <p>I actually got my test file to work at one point... but I wasn't actually IN scala.</p>
  
  <pre><code>C:\scala-2.9.1.final\bin&gt; scala Hello.scala
  Hello world!
  </code></pre>
  
  <p>I'm not really sure how to proceed from here.  If anyone has any ideas of what may be wrong I would greatly appreciate input.</p>