This guide explains how to install the Java 17 JDK+FX Azul distribution on macOS using SDKMAN.
Why this specific version of JDK?
Why SDKMAN? SDKMAN simplifies the process of installing, switching between, and managing multiple versions of on Unix-based systems.
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk version
sdk install java 17.0.11.fx-zulu
sdk default java 17.0.11.fx-zulu
java -version
If you encountered issues following the above instructions, you can also watch the video below for a more visual explanation (note that the JDK version it uses is not the one we want -- so, adapt accordingly).
If you have multiple versions of Java installed, you can switch between them using SDKMAN.
sdk current java
sdk use java
Then press the Tab key to see the available versions installed on your computer. Keep pressing the same key until you select the desired version, and hit Enter.sdk install java <version>
sdk default java <version>
Authors: