dita-ot / dita-ot

DITA Open Toolkit — the open-source publishing engine for content authored in the Darwin Information Typing Architecture.
https://www.dita-ot.org
Apache License 2.0
386 stars 193 forks source link

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

Open jhietsu opened 2 months ago

jhietsu commented 2 months ago

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