Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 1.86 KB

Java-Version-Support.adoc

File metadata and controls

47 lines (38 loc) · 1.86 KB

Java Version Support

We support current LTS versions: Java 8, 11, 17 and 21 - all libraries will run under these versions of Java.

We support Oracle’s JDK, OpenJDK (including popular distributions such as Azul Zulu), and Azul Platform Prime (AKA Zing).

Running under Java 11, Java 17 or Java 21 (class path)

When starting a JVM explicitly using the java command, the follow command line parameters need to be passed in:

--add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
--add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
--add-opens=jdk.compiler/com.sun.tools.javac=ALL-UNNAMED
--add-opens=java.base/java.lang=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
--add-opens=java.base/java.io=ALL-UNNAMED
--add-opens=java.base/java.util=ALL-UNNAMED
Tip
Even though not all of them are strictly required, we recommend providing the same command line options for Java 11 as for Java 17 and Java 21 as this will remove some warnings in the output logs.

Compiles and Runs on Java 8, 11, 17 and 21.

Almost all libraries are built in Java 8 and are subsequently tested under Java 8, Java 11, Java 17 and Java 21 as a part of our continuous integration process. However, some libraries may also be build with more recent Java version as described here:

These libraries compile on either Java 8, 11, 17 or 21 and pass all the tests under the version built and higher.

  • Chronicle-Algorithms

  • Chronicle-Core

  • Chronicle-FIX

  • Chronicle-Map

  • Chronicle-Map-Enterprise

  • Chronicle-Market-Data-Distributor

  • Chronicle-Network

  • Chronicle-Network-Enterprise

  • Chronicle-Queue

  • Chronicle-Queue-Enterprise

  • Chronicle-Ring

  • Chronicle-Salt

  • Chronicle-Services

  • Chronicle-Threads

  • Chronicle-Values

  • Chronicle-Wire-Enterprise

  • JLBH