Nashorn not recognized in Ant script with Amazon Corretto 21 and DITA-OT 4.2.3
I’m migrating our custom plugins to DITA OT 4.2.3, which requires a newer version of the JDK. We’re using Amazon Corretto 21.0.3.9.1. We have one Ant build script that contains JavaScript. Since the JDK no longer contains the JavaScript engine, we’re using Nashorn 15.4.