scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Installer downloads JDK 17, and also it's for the wrong architecture

Open iuliand-db opened this issue 3 years ago • 0 comments

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.

iuliand-db avatar Oct 21 '22 13:10 iuliand-db