FYI Using GraalVM’s JavaScript engine as a replacement for the deprecated Nashorn JavaScript engine in OpenJDK 11: https://medium.com/graalvm/graalvms-javascript-engine-on-jdk11-with-high-performance-3e79f968a819 Shows how to use the GraalVM JavaScript engine from a Maven application. Tom