Closed as not planned
Description
I downloaded both the zip and tar.gz versions of scala-3.5.2
on the releases page.
In the lib directory, there are only 3 .jar
files, all of them only contain a manifest file. trying to run for example scalac
gives:
Error: Could not find or load main class dotty.tools.MainGenericCompiler
Caused by: java.lang.ClassNotFoundException: dotty.tools.MainGenericCompiler
The actual eval
line constructed by the scalac
script in my case, is:
/usr/lib/jvm/java-21-jetbrains/bin/java" -Xmx768m -Xms768m -classpath "/usr/share/scala3/lib/scala.jar:/usr/share/scala3/lib/with_compiler.jar" -Dscala.expandjavacp=true -Dscala.usejavacp=true -Dscala.home="/usr/share/scala3" dotty.tools.MainGenericCompiler