What is the recommended Java version for FirstSpirit?
Starting with FirstSpirit 2023.1, the recommended Java version is Java 17.
Do we have to compile our modules with Java 17?
Java 17 is mostly backwards-compatible with older Java versions, so existing modules will continue to work regardless of the compiler version used to create the module.
Starting with FirstSpirit 2023.11, artifacts like the isolated-runtime jar will require Java 17 to compile when used as a dependency in your project.
Is it safe to use the new bytecode version now?
The new bytecode version of Java 17 is 61.0 and supports new language features like records and text blocks. To use those, it is necessary to compile your module with Java 17 and set the bytecode version accordingly. A FirstSpirit server running with Java 17 will be able to load those modules.
If your build pipeline supports compilation with the new bytecode version depends on the responsibility for the pipeline: On-premises customers are free to modify their pipeline on their own terms while Cloud customers rely on the build infrastructure provided by Crownpeak. Java 17 support for the latter will be available in the next months.
How do we configure the build pipeline to use Java 17?
If your build pipeline uses Gradle, look for this line: