Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We currently run Java 17.

...

Code Block
sudo apt install openjdk-17-jdk openjdk-17-doc openjdk-17-source

SDKMAN!

See the page on SDKMAN!

Now install Java:

...

The Jetbrains runtime (customized JDK) is an option for installing on Linux. It provides font rendering fixes. Read more here.

Manual Azul Zulu JDK

Manually install Azul's Zulu JDK:

Code Block
$ curl -sL https://cdn.azul.com/zulu/bin/zulu17.34.19-ca-jdk17.0.3-linux_x64.tar.gz -o zulu.tar.gz
$ tar -xvzf zulu.tar.gz
# mv zulu17.34.19-ca-jdk17.0.3-linux_x64/ /opt/.
# rm /opt/zulu
# ln -s /opt/zulu17.34.19-ca-jdk17.0.3-linux_x64/ /opt/zulu

Windows

Azul is providing JDK 17 with JavaFX as part of their community Zulu distribution. You may also reference the official Zulu Installation Guide including the Installation on Windows Using the Zulu ZIP File page.

...

Code Block
java -version
openjdk version "17.0.3" 2022-04-19 LTS
OpenJDK Runtime Environment Zulu17.34+19-CA (build 17.0.3+7-LTS)
OpenJDK 64-Bit Server VM Zulu17.34+19-CA (build 17.0.3+7-LTS, mixed mode, sharing)

Note: JDKs are also available from https://adoptopenjdk.net/, but they won't provide JavaFX, which breaks most of IHMC's robotics software.

Mac OS X

Download JDK and JavaFX from https://adoptopenjdk.net/ or https://www.azul.com/downloads/zulu/zulufx/

...