eolivelli opened a new issue #8559:
URL: https://github.com/apache/pulsar/issues/8559


   **Describe the bug**
   In JDK14 they deprecated Nashorg, the server side JS engine, and in JDK15 it 
was removed.
   
   When I am running pulsar-admin on JDK15 I see this warning at every command:
   `2020-11-13 08:46:06,969 main ERROR No ScriptEngine found for language 
JavaScript. Available languages are:`
   
   When running on JDK14 the warning is:
   `Warning: Nashorn engine is planned to be removed from a future JDK release`
   
   I am not sure where we are using ScriptEngine but we have to add graalvm-js 
to the classpath in order to ensure that there is a JS script engine available.
   
   https://www.graalvm.org/reference-manual/js/NashornMigrationGuide/ 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to