Versions Compared

Key

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

We currently run Java 17.

...

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

  1. Visit https://www.azul.com/downloads/zulu-community/?architecture=x86-64-bit&package=jdk-fx
  2. Under Zulu Community Downloads, select:
    1. Java Version: Java 8 17 (LTS)
    2. Operating System: Windows
    3. Java Package: JDK FX (if not already selected)
  3. Download the zip distribution and extract the contents to a temporary folder
  4. Move the extracted folder to something like C:\Program Files\Zulu\zulu8zulu17.4634.0.19-ca-fx-jdk8jdk17.0.2523-win_x64
  5. In Windows > System Properties > Environment Variables
    1. Append the bin directory of the JDK to the PATH variable (i.e PATH=<other_stuff>;C:\Program Files\Zulu\zulu8zulu17.46.034.19-ca-fx-jdk8jdk17.0.2523-win_x64\bin)
    2. Set Under System Variables, set JAVA_HOME to the JDK directory (i.e JAVA_HOME=;C:\Program Files\Zulu\zulu8zulu17.4634.0.19-ca-fx-jdk8jdk17.0.2523-win_x64). Move it to the top of the list if you have multiple versions
  6. Make sure you configure your IDE settings to reference this JDK. There will probably be 2 references - the Java compiler and the gradle compiler
  7. (Optional) Open a new console and check that java -version prints something like the following
Code Block
java -version
openjdk version "117.80.0_2523" 2022-04-19 LTS
OpenJDK Runtime Environment (Zulu 8.46.0.Zulu17.34+19-CA-win64) (build 117.8.0_252-b140.3+7-LTS)
OpenJDK 64-Bit Server VM (Zulu 8.46.0.Zulu17.34+19-CA-win64) (build 25.252-b1417.0.3+7-LTS, mixed mode, sharing)

Image RemovedImage Added

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.

...