Hi
I’m unable to install dotty on an M1 MAC as the homebrew formula depends on openjdk@8
, which isn’t available for M1 macs.
If you try and install an alternative JDK you get the following:
➜ scala3-playground brew install --cask homebrew/cask-versions/adoptopenjdk8
==> Tapping homebrew/cask-versions
Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-cask-versions'...
remote: Enumerating objects: 247422, done.
remote: Counting objects: 100% (270/270), done.
remote: Compressing objects: 100% (116/116), done.
remote: Total 247422 (delta 166), reused 258 (delta 154), pack-reused 247152
Receiving objects: 100% (247422/247422), 63.39 MiB | 4.65 MiB/s, done.
Resolving deltas: 100% (171185/171185), done.
Tapped 221 casks (251 files, 70.3MB).
==> Caveats
Temurin is the official successor to this software:
brew install --cask temurin8
adoptopenjdk8 has been officially discontinued upstream.
It may stop working correctly (or at all) in recent versions of macOS.
I’m not sure if it is possible to change the homebrew dependencies to require temurin8
instead of openjdk@8
or if there is alternative workaround.
No issues accessing Scala 3 from IntelliJ on M1 MacBooks.
Regards, Mark.