We currently run Java 17.
...
JDK Installation
Ubuntu
OpenJDK
This is the default method for Ubuntu and is recommended:
Use apt to install openjdk-17-jdk
, openjdk-17-doc
, openjdk-17-source
SDKMAN!
See the page on SDKMAN!
Before starting, a useful command to remember is "list" which shows all available versions:
sdk list java
Now install JavaFX:
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
...
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/
...