Error message when trying to compile docs - JDK 21 not supported by Gradle 7.6.1 #4426
Open
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
Steps to Reproduce
- Install JDK 21 and follow all steps for installing DITA-OT
- 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
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