-
Notifications
You must be signed in to change notification settings - Fork 30
Java Development Guide
Endi S. Dewata edited this page Dec 1, 2022
·
3 revisions
Java dependency is defined in jss.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/Java.cmake:
COMMAND ${Java_JAVAC_EXECUTABLE} ... -source 17 -target 17 ...
Java source and target versions are hard-coded in base/pom.xml:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>17</source> <target>17</target> .... </configuration> </plugin>