Turns out it’s pretty simple when you do it the right way: https://stackoverflow.com/a/66464892/1037043
SDK Man is the way to go:
curl -s "https://get.sdkman.io" | bash # to install SDK Man
sdk install java # If you don't already have Java installed
sdk install sbt
And SBT should run without much trouble after that.
Leave a Reply