Nashorn JavaScript engine removed from Java 16. I am running Java application (Minecraft server) which using plugin which using Nashorn Engine to run JavaScript snippets. I recently updated my server to Java 16 and now this plugin wont load.
Plugin (https://github.com/TabooLib/TabooLib) using for example import jdk.nashorn.api.scripting.NashornScriptEngineFactory;
, etc...
Is there any replacement I can install to make this plugin work again? Or I need to ask developer to deal with it in repository?
I was reading about GraalVM, but I am not sure it will work as drag-drop replacement and also I do not work to switch from OpenJDK just yet...