Skip to content

Error message when trying to compile docs - JDK 21 not supported by Gradle 7.6.1 #4426

Open
@jhietsu

Description

Expected Behavior

Successful build.

Actual Behavior

Build failed with an exception.

Possible Solution

Changing Gradle version in the gradle-wrapper.properties to 8.4 solved the issue
image

Steps to Reproduce

  1. Install JDK 21 and follow all steps for installing DITA-OT
  2. Run command gradlew.bat -PditaHome=C:\path\to\dita-ot from the command line according to instructions

Copy of the error message, log file or stack trace

image

Environment

  • DITA-OT version:
    4.2
  • Operating system and version:
    Windows 10
  • How did you run DITA-OT?
    command line
  • Transformation type:
    HTML and PDF

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions