Info | ||
---|---|---|
| ||
Version higher than 8u131 required! We do not support Java 9 or 10 or 11 or 12 or 13 or 14 or 15 or 16 yet. |
...
Code Block |
---|
$ curl -sL https://cdn.azul.com/zulu/bin/zulu8.54.0.21-ca-fx-jdk8.0.292-linux_x64.tar.gz -o zulu.tar.gz
$ tar -xvzf zulu.tar.gz
# mv zulu8.54.0.21-ca-fx-jdk8.0.292-linux_x64/ /opt/.
# rm /opt/zulu
# ln -s /opt/zulu8.54.0.21-ca-fx-jdk8.0.292-linux_x64/ /opt/zulu |
Alternatively will can use SDKMAN! which is a package manager for Gradle, Java, and many other frameworks on Ubuntu.
Following the SDKMAN! install instructions:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
Before starting, a useful command to remember is "list" which shows all available versions:
sdk list java
Now install JavaFX and (optionally) Gradle using two easy commands:
sdk install java 8.0.322.fx-zulu
sdk install gradle 7.4.2
Note, the JDK will be installed in a hidden folder located at:
~/.sdkman/candidates/java/8.0.332.fx-zulu
Jetbrains Runtime
The Jetbrains runtime (customized JDK) is an option for installing on Linux. It provides font rendering fixes. Read more here.
...
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
Download JDK and JavaFX from https://adoptopenjdk.net/ or https://www.azul.com/downloads/zulu/zulufx/
...