...
SDKMAN!
...
Manual Azul Zulu JDK
Manually install Azul's Zulu JDK:
...
Multiexcerpt | ||
---|---|---|
| ||
Oracle (recommended)Download installer from https://www.oracle.com/java/technologies/downloads/#java17. The x64 MSI installer is the most convenient. Default installation settings are fine. (Aside: paths are already set by this installer. No action is needed) Verify installation:. Open a terminal and call Something like the following should be outputted: Aside: java will be installed at the location |
Azul
Info |
---|
We needed Azul JDK for Java 8 but there is no real need anymore. Any JDK distribution should work. |
...
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/
...
Testing
For testing in IDE, see Unit Testing/wiki/spaces/HOWTO/pages/14288377. For testing with Gradle and on Bamboo, see IHMC CI Gradle plugin and Integrating with Bamboo /wiki/spaces/HOWTO/pages/14288249.
JVM options
Warning |
---|
Needs updating for Java 17. |
...
See Java Platform Module System
Learning Resources
- Guide: Learning Java
- The Java™ Tutorials
- Thinking in Java (ISBN 978-0131872486) by Bruce Eckel
...