scala-cli
scala-cli copied to clipboard
Installer downloads JDK 17, and also it's for the wrong architecture
Version(s) 0.1.16
Describe the bug
Installed scala-cli via brew. It installed an X86 binary, despite using an M1 (ARM) Mac. Then it proceeded to downloading JDK17, despite having JDK 11 available (and that's what I need to use, for work related reasons). Additionally, the JDK17 was also for the wrong (Intel) architecture:
Downloading JVM temurin:17
^Ctps://github.com/adoptium/temurin17-binaries/releases/download/jdk-17%2B35/OpenJDK17-jdk_x64_mac_hotspot_17_35.tar.gz
To Reproduce
See above.
Expected behaviour
Use the existing JDK. If downloading something, use the right architecture.