Re: Cannot load Script Engine for language: JavaScript Processing

2024-11-02 Thread Markos Volikas
We initially considered using GraalVM but had difficulty finding out what jars should be included in Solr (or how to build those). We were also not sure about the scripting features or compatibility with our existing update scripts. Of course GraalVM would be a better alternative since it is ac

Re: Cannot load Script Engine for language: JavaScript Processing

2024-10-18 Thread David Eric Pugh
Thanks for sharing this.   I am a bit fuzzy on what the path forward to Java 21, no security manager, and continuing to be able support the Nashorn based scripting libraries.    My understanding is Nashorn is no longer in Java.   The github repo you mentioned doesn't seem super active but might

Re: Cannot load Script Engine for language: JavaScript Processing

2024-10-18 Thread Markos Volikas
Hi Doss, I had to include more jars. What worked for me was the following: - Clone https://github.com/openjdk/nashorn and build with ``` cd make/nashorn ant jar ``` - Copy the following generated jars to .../solr-9.7.0/lib/ .../nashorn/build/nashorn/dist/jjs.jar .../nasho