Java Development Guide - dogtagpki/pki GitHub Wiki
Java dependency is defined in pki.spec:
%define java_devel java-17-openjdk-devel %define java_headless java-17-openjdk-headless %define java_home %{_jvmdir}/jre-17-openjdk
Java source and target versions are hard-coded in cmake/Modules/Java.cmake:
COMMAND ${Java_JAVAC_EXECUTABLE} ... -source 17 -target 17 ...
Java release version is hard-coded in pom.xml:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <release>17</release> </configuration> </plugin>