The recommended way to install JDK, Scala, and SBT is by using the SDK manager available at https://sdkman.io. Please refer to the instructions on the web page to complete the installation.
Further, we'll describe the process of manual installation for Java and SBT. For your convenience, we've packaged the commands represented in further screenshots as scripts for OS X and Linux and made them available in the Appendix folder in the GitHub repository at: https://github.com/PacktPublishing/Learn-Scala-Programming/tree/master/Appendix.