title: sbt test error: java.lang.RuntimeException: /packages cannot be represented as URI
body: <p>To start, I have reviewed the following response and am still struggling to resolve this issue:</p>
  <p><a href="https://stackoverflow.com/questions/60308229/scala-packages-cannot-be-represented-as-uri">Scala: packages cannot be represented as URI</a></p>
  <p>I still see the following error output when I run <code>sbt test</code>:</p>
  <pre><code>error: error while loading String, class file '/modules/java.base/java/lang/String.class' is broken
  (class java.lang.NullPointerException/Cannot invoke &quot;scala.tools.nsc.Global$Run.typerPhase()&quot; because the return value of &quot;scala.tools.nsc.Global.currentRun()&quot; is null)
  [error] java.io.IOError: java.lang.RuntimeException: /packages cannot be represented as URI
  [error]     at java.base/jdk.internal.jrtfs.JrtPath.toUri(JrtPath.java:176)
  [error]     at scala.tools.nsc.classpath.JrtClassPath.asURLs(DirectoryClassPath.scala:204)
  [error]     at scala.tools.nsc.classpath.AggregateClassPath.$anonfun$asURLs$1(AggregateClassPath.scala:55)
  </code></pre>
  <p>Here is what I'm seeing when I look and my build settings:</p>
  <p><a href="https://i.stack.imgur.com/0qLjD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0qLjD.png" alt="enter image description here" /></a></p>
  <p>I checked my <code>&quot;/Library/</code> directory and I actually don't see a Java folder at all.</p>