JasperReportsIntegration
JasperReportsIntegration copied to clipboard
Java 17 leads to Unsupported class file major version 61 on Debian 11
Hi. guys. Would You clarify what is wrong with config of
java -version
java version "17.0.9" 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 17.0.9+11-LTS-201)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.9+11-LTS-201, mixed mode, sharing)
that leads to
./gradlew
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* Where:
Build file '/root/JasperReportsIntegration/build.gradle'
* What went wrong:
Could not compile build file '/root/JasperReportsIntegration/build.gradle'.
> startup failed:
General error during semantic analysis: Unsupported class file major version 61
What are you trying to achieve?
gradle is only used for building the software, but not for using it.
Which version of JRI are you using?
Exactly. I've been trying to build and get a jri.war (i hoped) I've using the latest what git got from main branch. I mean i use git client to get the latest JRI. So a just make git pull and run ./gradlew to get a jri.war as i said.