title: Unable to run a standlone scala file
body: <p>I'm following examples out of Programming in Scala book by Odersky and I'm unable to run a simple standalone scala file with <code>scala hello.scala</code>. When I do this, I get this error:</p>
  <pre><code>Error: Could not find or load main class hello.scala
  Caused by: java.lang.ClassNotFoundException: hello.scala
  </code></pre>
  <p>I'm using scala3.</p>
  <p>Here's a state of my file and commands I'm running.</p>
  <p><a href="https://i.stack.imgur.com/t4OPH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t4OPH.png" alt="enter image description here" /></a></p>