-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala 3.5.2 artifacts seem to contain empty jars #21926
Comments
Huh. I figured out that, as opposed to LTS (3.3.4), the artifacts contain a |
@bishabosha @hamzaremmal @Gedochao opinions? |
@rubin55 those three jars list the classpath for the commands in the manifest file "Class-Path" attribute - it's necessary for windows on Java 8 where cmd has a limit to the size of a command |
Ok sure, but the intention can't be that the other command line utilities fail to run right? I suppose the scripts need to be adjusted so they construct a valid classpath or somesuch? Because at least |
Alright, so right there, downloading the artifacts manually is not a recommended way of installation. However, first things first.
I am suspecting you need to put the jars in the right directories for the scripts to be able to find them. The installer would normally do it for you. Other than that, is there any reason why you'd download the artifacts manually? EDIT: I did a quick check, downloaded |
@rubin55 What's the structure of the |
Second option recommended installation: "Download release from GitHub". For your information, I've been running Scala like this for years. Also note that |
It's working now. I was using the AUR package which recently updated from LTS to latest; in the |
Right... we do not recommend it on https://www.scala-lang.org/download/, but we do under a specific release, my bad.
FYI, the changes were introduced in Scala 3.5.0. I'm glad it works. |
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 examplescalac
gives:The actual
eval
line constructed by thescalac
script in my case, is:The text was updated successfully, but these errors were encountered: