title: Can compile Scala programs but can't run them
body: <p>I am able to compile scala programs using scalac in terminal but I get the warning.</p>
  
  <pre><code>Charless-Macintosh:src Charles$ scalac hello.scala
  Charless-Macintosh:src Charles$ scala HelloWorld
  No such file or class on classpath: HelloWorld
  </code></pre>
  
  <p>Is this to do with <code>.profile</code> on scala. I'm pretty confused as to what is happening. Many thanks</p>