Skip to content

Scala 3.5.2 artifacts seem to contain empty jars #21926

Closed as not planned
Closed as not planned
@rubin55

Description

@rubin55

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions