We currently run Java 17.
...
Use apt to install openjdk-17-jdk
, openjdk-17-doc
, openjdk-17-source
.
Azul Zulu JDK
Warning |
---|
Needs updating for Java 17. |
Manually install Azul's JDK FX (https:
//cdn.azul.com/zulu/bin/zulu8.54.0.21-ca-fx-jdk8.0.292-linux_x64.tar.gz
)
...
The Jetbrains runtime (customized JDK) is an option for installing on Linux. It provides font rendering fixes. Read more here.
Windows
Warning |
---|
Needs updating for Java 17. |
Azul is providing JDK 8 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 "1.8.0_252" OpenJDK Runtime Environment (Zulu 8.46.0.19-CA-win64) (build 1.8.0_252-b14) OpenJDK 64-Bit Server VM (Zulu 8.46.0.19-CA-win64) (build 25.252-b14, mixed mode) |
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
Warning |
---|
Needs updating for Java 17. |
Download JDK and JavaFX from https://adoptopenjdk.net/ or https://www.azul.com/downloads/zulu/zulufx/
...
Before starting, a useful command to remember is "list" which shows all available versions:
sdk list java
Warning |
---|
Needs updating for Java 17. |
Now install JavaFX:
sdk install java 8.0.322.fx-zulu
...
For testing in IDE, see Unit Testing. For testing with Gradle and on Bamboo, see IHMC CI Gradle plugin and Integrating with Bamboo.
JVM options
Warning |
---|
Needs updating for Java 17. |
Increase Stack Size
Use -Xss4m
for example to set a custom stack size. Default is 512 KB (-Xss512k
)
...