Skip to content

Java 17 leads to Unsupported class file major version 61 on Debian 11 #148

@gomanuke

Description

@gomanuke

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions