Versions Compared

Key

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

We currently run Java 17.

...

Excerpt

OpenJDK

This is the default method for Ubuntu and is recommended:

Use apt to install openjdk-17-jdkopenjdk-17-doc, openjdk-17-source:

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

SDKMAN!

See the page on SDKMAN!

Now install Java:

sdk install java 17.0.3-zulu

Note, the JDK will be installed in a hidden folder located at (You may have to press Ctrl + H to view hidden folders in Ubuntu's file explorer):

~/.sdkman/candidates/java/17.0.3-zulu

Jetbrains Runtime

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
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/

...