title: Unable to run Kotlin scratch file
body: <p>In a newly installed IntelliJ IDEA, I created a new Kotlin scratch file and tried to run it, but it gives me an error:</p>
  <pre><code>add kotlin script runtime jar to classpath
  </code></pre>
  <p><a href="https://i.stack.imgur.com/OD5io.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OD5io.png" alt="enter image description here" /></a></p>